summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/CommentDumper.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-07-18 23:20:23 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-07-18 23:20:23 +0000
commitc16cd2a67bfcccc61fc0c8dbbae865ad3df19a97 (patch)
treebf0d36e765fb51fa05471dd59941555db88691c3 /clang/lib/AST/CommentDumper.cpp
parent037520e9cf8d2293ce2abfd5d4cde583e79556a6 (diff)
downloadbcm5719-llvm-c16cd2a67bfcccc61fc0c8dbbae865ad3df19a97.tar.gz
bcm5719-llvm-c16cd2a67bfcccc61fc0c8dbbae865ad3df19a97.zip
Comment::dump(): show name of inline command
llvm-svn: 160467
Diffstat (limited to 'clang/lib/AST/CommentDumper.cpp')
-rw-r--r--clang/lib/AST/CommentDumper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/CommentDumper.cpp b/clang/lib/AST/CommentDumper.cpp
index 5de5ef544f1..027e3a98004 100644
--- a/clang/lib/AST/CommentDumper.cpp
+++ b/clang/lib/AST/CommentDumper.cpp
@@ -106,6 +106,7 @@ void CommentDumper::visitTextComment(const TextComment *C) {
void CommentDumper::visitInlineCommandComment(const InlineCommandComment *C) {
dumpComment(C);
+ OS << " Name=\"" << C->getCommandName() << "\"";
for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i)
OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
}
OpenPOWER on IntegriCloud