summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/CommentDumper.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-07-13 19:02:42 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-07-13 19:02:42 +0000
commit619e75eb961448abb62124864e5b27a7966b00fc (patch)
tree1337cabfb29bb7eaa0b8666802c8ebc45e1e19c8 /clang/lib/AST/CommentDumper.cpp
parent4b7b5aa0bccc73bb4bd644ddf84cd7e36556d575 (diff)
downloadbcm5719-llvm-619e75eb961448abb62124864e5b27a7966b00fc.tar.gz
bcm5719-llvm-619e75eb961448abb62124864e5b27a7966b00fc.zip
Comment AST nodes: rename getXXXCount() methods to getNumXXXs() to be in line with Statement AST nodes.
llvm-svn: 160182
Diffstat (limited to 'clang/lib/AST/CommentDumper.cpp')
-rw-r--r--clang/lib/AST/CommentDumper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/CommentDumper.cpp b/clang/lib/AST/CommentDumper.cpp
index 7ff61e0a27f..7a075a67488 100644
--- a/clang/lib/AST/CommentDumper.cpp
+++ b/clang/lib/AST/CommentDumper.cpp
@@ -106,7 +106,7 @@ void CommentDumper::visitTextComment(const TextComment *C) {
void CommentDumper::visitInlineCommandComment(const InlineCommandComment *C) {
dumpComment(C);
- for (unsigned i = 0, e = C->getArgCount(); i != e; ++i)
+ for (unsigned i = 0, e = C->getNumArgs(); i != e; ++i)
OS << " Arg[" << i << "]=\"" << C->getArgText(i) << "\"";
}
@@ -114,9 +114,9 @@ void CommentDumper::visitHTMLStartTagComment(const HTMLStartTagComment *C) {
dumpComment(C);
OS << " Name=\"" << C->getTagName() << "\"";
- if (C->getAttrCount() != 0) {
+ if (C->getNumAttrs() != 0) {
OS << " Attrs: ";
- for (unsigned i = 0, e = C->getAttrCount(); i != e; ++i) {
+ for (unsigned i = 0, e = C->getNumAttrs(); i != e; ++i) {
const HTMLStartTagComment::Attribute &Attr = C->getAttr(i);
OS << " \"" << Attr.Name << "=\"" << Attr.Value << "\"";
}
OpenPOWER on IntegriCloud