Comment::dump(): show name of inline command

llvm-svn: 160467
This commit is contained in:
Dmitri Gribenko 2012-07-18 23:20:23 +00:00
parent 037520e9cf
commit c16cd2a67b

View File

@ -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) << "\"";
}