diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-18 23:20:23 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-18 23:20:23 +0000 |
commit | cdd1b371eab6bfca6a002fe7e16e3c77cb2f24b7 (patch) | |
tree | b5ac6cbaec0964b100ac2f9ce041fc16db15a3db /lib/AST/CommentDumper.cpp | |
parent | 64da4e55c111f4733135e1780216609569767351 (diff) |
Comment::dump(): show name of inline command
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
-rw-r--r-- | lib/AST/CommentDumper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp index 5de5ef544f..027e3a9800 100644 --- a/lib/AST/CommentDumper.cpp +++ b/lib/AST/CommentDumper.cpp @@ -106,6 +106,7 @@ void CommentDumper::visitTextComment(const TextComment *C) { void CommentDumper::visitInlineCommandComment(const InlineCommandComment *C) { dumpComment(C); + OS << " Name=\"" << C->getCommandName() << "\""; for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i) OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\""; } |