From bfdb5061b47fc2708ca74d7b1042a666ad188d96 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 6 Jul 2012 11:51:12 +0000 Subject: [PATCH] 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 --- lib/AST/ASTContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1