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 | ad40ba91aea600f2bd97058f7d6e3d1ed05af8b4 (patch) | |
| tree | 326b33a7725a4184e7d2f7fcd3b22805359c61af /clang/lib/AST/CommentDumper.cpp | |
| parent | 5de4c064c1051deac9ce8232af3472a771a1af1a (diff) | |
| download | bcm5719-llvm-ad40ba91aea600f2bd97058f7d6e3d1ed05af8b4.tar.gz bcm5719-llvm-ad40ba91aea600f2bd97058f7d6e3d1ed05af8b4.zip | |
Comment dumper: silence a warning by not casting away const
llvm-svn: 160972
Diffstat (limited to 'clang/lib/AST/CommentDumper.cpp')
| -rw-r--r-- | clang/lib/AST/CommentDumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/CommentDumper.cpp b/clang/lib/AST/CommentDumper.cpp index 764492f94c2..f02ea334cd7 100644 --- a/clang/lib/AST/CommentDumper.cpp +++ b/clang/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); } |

