aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/AST/CommentDumper.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp
index c930b24504..764492f94c 100644
--- a/lib/AST/CommentDumper.cpp
+++ b/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) {