summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/CommentDumper.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-10-15 18:58:50 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-10-15 18:58:50 +0000
commit14ec3f3acb46c7049256d87784ee44e1f96d0cd6 (patch)
tree3bb23c5da9241d4ed4b56ed8f61fcd433dcfc2ea /clang/lib/AST/CommentDumper.cpp
parent5a89e0ef07ea80a03416e617e77ecd66ba11e698 (diff)
downloadbcm5719-llvm-14ec3f3acb46c7049256d87784ee44e1f96d0cd6.tar.gz
bcm5719-llvm-14ec3f3acb46c7049256d87784ee44e1f96d0cd6.zip
structured document comment: patch to provide comment for overriding function
template when comment is comming from overridden declaration. // rdar://12378793 llvm-svn: 165953
Diffstat (limited to 'clang/lib/AST/CommentDumper.cpp')
-rw-r--r--clang/lib/AST/CommentDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/CommentDumper.cpp b/clang/lib/AST/CommentDumper.cpp
index 36261c423be..4f51cd5622c 100644
--- a/clang/lib/AST/CommentDumper.cpp
+++ b/clang/lib/AST/CommentDumper.cpp
@@ -197,7 +197,7 @@ void CommentDumper::visitTParamCommandComment(const TParamCommandComment *C) {
dumpComment(C);
if (C->hasParamName()) {
- OS << " Param=\"" << C->getParamName() << "\"";
+ OS << " Param=\"" << C->getParamName(const_cast<FullComment*>(FC)) << "\"";
}
if (C->isPositionValid()) {
OpenPOWER on IntegriCloud