[cfe-commits] r160519 - /cfe/trunk/lib/AST/CommentDumper.cpp
Dmitri Gribenko
gribozavr at gmail.com
Thu Jul 19 11:43:24 PDT 2012
Author: gribozavr
Date: Thu Jul 19 13:43:24 2012
New Revision: 160519
URL: http://llvm.org/viewvc/llvm-project?rev=160519&view=rev
Log:
CommentDumper: print word-like arguments for block commands.
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=160519&r1=160518&r2=160519&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentDumper.cpp (original)
+++ cfe/trunk/lib/AST/CommentDumper.cpp Thu Jul 19 13:43:24 2012
@@ -140,6 +140,8 @@
dumpComment(C);
OS << " Name=\"" << C->getCommandName() << "\"";
+ for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i)
+ OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
}
void CommentDumper::visitParamCommandComment(const ParamCommandComment *C) {
More information about the cfe-commits
mailing list