Comment dumper: print \param parameter index if parameter name is resolved.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160908 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp
index c930b24..764492f 100644
--- a/lib/AST/CommentDumper.cpp
+++ b/lib/AST/CommentDumper.cpp
@@ -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) {