diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-13 19:02:42 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-13 19:02:42 +0000 |
commit | 0eaf69d9a10149f0f344238183915912c2dca392 (patch) | |
tree | 6d412a89fa5a93006c0379c70683046e724bf372 /lib/AST/CommentDumper.cpp | |
parent | 6b60370ddb5b63e93f25dfbed920be0f335ddad3 (diff) |
Comment AST nodes: rename getXXXCount() methods to getNumXXXs() to be in line with Statement AST nodes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
-rw-r--r-- | lib/AST/CommentDumper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp index 7ff61e0a27..7a075a6748 100644 --- a/lib/AST/CommentDumper.cpp +++ b/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 << "\""; } |