Comment::dump(): show name of inline command
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160467 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp
index 5de5ef5..027e3a9 100644
--- a/lib/AST/CommentDumper.cpp
+++ b/lib/AST/CommentDumper.cpp
@@ -106,6 +106,7 @@
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) << "\"";
}