ASTContext.cpp: Appease msvc to cast NULL to typed pointer, or msvc mistakes NULL as int.

llvm-svn: 159818
This commit is contained in:
NAKAMURA Takumi 2012-07-06 11:51:12 +00:00
parent 0246724cd6
commit 388817236f
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ const RawComment *ASTContext::getRawCommentForDecl(const Decl *D) const {
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;
}