commit | c109361fc44e82250bae143c9f0f20e11b3c3488 | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Mon Jul 30 17:52:50 2012 +0000 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Mon Jul 30 17:52:50 2012 +0000 |
tree | 78d5db7169a60de967064604ac6b63f218c36f5c | |
parent | 221a6d74d48fb3eaa73b68eb04f253080bedd5fd [diff] |
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 764492f..f02ea33 100644 --- a/lib/AST/CommentDumper.cpp +++ b/lib/AST/CommentDumper.cpp
@@ -75,7 +75,7 @@ void CommentDumper::dumpComment(const Comment *C) { dumpIndent(); OS << "(" << C->getCommentKindName() - << " " << (void *) C; + << " " << (const void *) C; dumpSourceRange(C); }