From c109361fc44e82250bae143c9f0f20e11b3c3488 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Mon, 30 Jul 2012 17:52:50 +0000 Subject: [PATCH] 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 --- lib/AST/CommentDumper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.50.1