forked from OSchip/llvm-project
parent
b2c42807a4
commit
08630059c5
|
@ -162,7 +162,8 @@ 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, (comments::FullComment *)NULL);
|
||||
DeclComments[D] =
|
||||
RawAndParsedComment(RC, static_cast<comments::FullComment *>(NULL));
|
||||
return RC;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue