From cdd1b371eab6bfca6a002fe7e16e3c77cb2f24b7 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Wed, 18 Jul 2012 23:20:23 +0000 Subject: [PATCH] Comment::dump(): show name of inline command git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160467 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/CommentDumper.cpp | 1 + 1 file changed, 1 insertion(+) 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) << "\""; } -- 2.40.0