[cfe-commits] r159818 - /cfe/trunk/lib/AST/ASTContext.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Fri Jul 6 04:51:12 PDT 2012
Author: chapuni
Date: Fri Jul 6 06:51:12 2012
New Revision: 159818
URL: http://llvm.org/viewvc/llvm-project?rev=159818&view=rev
Log:
ASTContext.cpp: Appease msvc to cast NULL to typed pointer, or msvc mistakes NULL as int.
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=159818&r1=159817&r2=159818&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Fri Jul 6 06:51:12 2012
@@ -162,7 +162,7 @@
const RawComment *RC = getRawCommentForDeclNoCache(D);
// If we found a comment, it should be a documentation comment.
assert(!RC || RC->isDocumentation());
- DeclComments[D] = RawAndParsedComment(RC, NULL);
+ DeclComments[D] = RawAndParsedComment(RC, (comments::FullComment *)NULL);
return RC;
}
More information about the cfe-commits
mailing list