From: Dmitri Gribenko Date: Mon, 30 Jul 2012 17:52:50 +0000 (+0000) Subject: Comment dumper: silence a warning by not casting away const X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c109361fc44e82250bae143c9f0f20e11b3c3488;p=clang Comment dumper: silence a warning by not casting away const git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160972 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp index 764492f94c..f02ea334cd 100644 --- a/lib/AST/CommentDumper.cpp +++ b/lib/AST/CommentDumper.cpp @@ -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); }