[cfe-commits] r159830 - /cfe/trunk/lib/AST/ASTContext.cpp
Dmitri Gribenko
gribozavr at gmail.com
Fri Jul 6 08:40:08 PDT 2012
Author: gribozavr
Date: Fri Jul 6 10:40:08 2012
New Revision: 159830
URL: http://llvm.org/viewvc/llvm-project?rev=159830&view=rev
Log:
Use C++ cast.
Modified:
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=159830&r1=159829&r2=159830&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Fri Jul 6 10:40:08 2012
@@ -162,7 +162,8 @@
const RawComment *RC = getRawCommentForDeclNoCache(D);
// If we found a comment, it should be a documentation comment.
assert(!RC || RC->isDocumentation());
- DeclComments[D] = RawAndParsedComment(RC, (comments::FullComment *)NULL);
+ DeclComments[D] =
+ RawAndParsedComment(RC, static_cast<comments::FullComment *>(NULL));
return RC;
}
More information about the cfe-commits
mailing list