diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-06 11:51:12 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-06 11:51:12 +0000 |
commit | bfdb5061b47fc2708ca74d7b1042a666ad188d96 (patch) | |
tree | ad70ab19210c2f4b2e9fc7a866f2fe84614aba70 | |
parent | 102bab77ef7c408108111a5bd0bdc0ea6799f3e5 (diff) |
ASTContext.cpp: Appease msvc to cast NULL to typed pointer, or msvc mistakes NULL as int.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159818 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index f65f9c0afc..3dc53eb873 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -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; } |