From c16cd2a67bfcccc61fc0c8dbbae865ad3df19a97 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Wed, 18 Jul 2012 23:20:23 +0000 Subject: [PATCH] Comment::dump(): show name of inline command llvm-svn: 160467 --- clang/lib/AST/CommentDumper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/AST/CommentDumper.cpp b/clang/lib/AST/CommentDumper.cpp index 5de5ef544f1b..027e3a980043 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) << "\""; }