summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/AST/CommentDumper.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/AST/CommentDumper.cpp b/clang/lib/AST/CommentDumper.cpp
index c930b245043..764492f94c2 100644
--- a/clang/lib/AST/CommentDumper.cpp
+++ b/clang/lib/AST/CommentDumper.cpp
@@ -169,9 +169,11 @@ void CommentDumper::visitParamCommandComment(const ParamCommandComment *C) {
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) {
OpenPOWER on IntegriCloud