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 | 6553c686cb419b22b4c79d05a422fb1e96f6e122 (patch) | |
tree | 8911b7c2e9cdb19d6e9a91cfdd698f400d3ac824 /lib/AST/CommentDumper.cpp | |
parent | 9a022bb007a3e77e1ac1330f955a239cfb1dd0fb (diff) |
structured document comment: patch to provide comment for overriding function
template when comment is comming from overridden declaration.
// rdar://12378793
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
-rw-r--r-- | lib/AST/CommentDumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp index 36261c423b..4f51cd5622 100644 --- a/lib/AST/CommentDumper.cpp +++ b/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()) { |