[cfe-commits] r160908 - /cfe/trunk/lib/AST/CommentDumper.cpp
Dmitri Gribenko
gribozavr at gmail.com
Fri Jul 27 17:35:48 PDT 2012
Author: gribozavr
Date: Fri Jul 27 19:35:48 2012
New Revision: 160908
URL: http://llvm.org/viewvc/llvm-project?rev=160908&view=rev
Log:
Comment dumper: print \param parameter index if parameter name is resolved.
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=160908&r1=160907&r2=160908&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentDumper.cpp (original)
+++ cfe/trunk/lib/AST/CommentDumper.cpp Fri Jul 27 19:35:48 2012
@@ -169,9 +169,11 @@
else
OS << " implicitly";
- if (C->hasParamName()) {
+ if (C->hasParamName())
OS << " Param=\"" << C->getParamName() << "\"";
- }
+
+ if (C->isParamIndexValid())
+ OS << " ParamIndex=" << C->getParamIndex();
}
void CommentDumper::visitVerbatimBlockComment(const VerbatimBlockComment *C) {
More information about the cfe-commits
mailing list