diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-15 18:58:50 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-15 18:58:50 +0000 |
commit | 14ec3f3acb46c7049256d87784ee44e1f96d0cd6 (patch) | |
tree | 3bb23c5da9241d4ed4b56ed8f61fcd433dcfc2ea /clang/lib/AST/CommentDumper.cpp | |
parent | 5a89e0ef07ea80a03416e617e77ecd66ba11e698 (diff) | |
download | bcm5719-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.cpp | 2 |
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()) { |