[cfe-commits] r160467 - /cfe/trunk/lib/AST/CommentDumper.cpp

Dmitri Gribenko gribozavr at gmail.com
Wed Jul 18 16:20:23 PDT 2012


Author: gribozavr
Date: Wed Jul 18 18:20:23 2012
New Revision: 160467

URL: http://llvm.org/viewvc/llvm-project?rev=160467&view=rev
Log:
Comment::dump(): show name of inline command

Modified:
    cfe/trunk/lib/AST/CommentDumper.cpp

Modified: cfe/trunk/lib/AST/CommentDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CommentDumper.cpp?rev=160467&r1=160466&r2=160467&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentDumper.cpp (original)
+++ cfe/trunk/lib/AST/CommentDumper.cpp Wed Jul 18 18:20:23 2012
@@ -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) << "\"";
 }





More information about the cfe-commits mailing list