diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-30 17:52:50 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-30 17:52:50 +0000 |
commit | c109361fc44e82250bae143c9f0f20e11b3c3488 (patch) | |
tree | 78d5db7169a60de967064604ac6b63f218c36f5c /lib/AST/CommentDumper.cpp | |
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
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
-rw-r--r-- | lib/AST/CommentDumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |