forked from OSchip/llvm-project
ASTContext.cpp: Appease msvc to cast NULL to typed pointer, or msvc mistakes NULL as int.
llvm-svn: 159818
This commit is contained in:
parent
0246724cd6
commit
388817236f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue