forked from OSchip/llvm-project
Comment dumper: silence a warning by not casting away const
llvm-svn: 160972
This commit is contained in:
parent
5de4c064c1
commit
ad40ba91ae
|
@ -75,7 +75,7 @@ void CommentDumper::dumpSourceRange(const Comment *C) {
|
|||
void CommentDumper::dumpComment(const Comment *C) {
|
||||
dumpIndent();
|
||||
OS << "(" << C->getCommentKindName()
|
||||
<< " " << (void *) C;
|
||||
<< " " << (const void *) C;
|
||||
dumpSourceRange(C);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue