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 | 619e75eb961448abb62124864e5b27a7966b00fc (patch) | |
| tree | 1337cabfb29bb7eaa0b8666802c8ebc45e1e19c8 /clang/lib/AST/CommentSema.cpp | |
| parent | 4b7b5aa0bccc73bb4bd644ddf84cd7e36556d575 (diff) | |
| download | bcm5719-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/CommentSema.cpp')
| -rw-r--r-- | clang/lib/AST/CommentSema.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/CommentSema.cpp b/clang/lib/AST/CommentSema.cpp index 955629c6582..6a8b32cee30 100644 --- a/clang/lib/AST/CommentSema.cpp +++ b/clang/lib/AST/CommentSema.cpp @@ -130,7 +130,7 @@ ParamCommandComment *Sema::actOnParamCommandParamNameArg( SourceLocation ArgLocEnd, StringRef Arg) { // Parser will not feed us more arguments than needed. - assert(Command->getArgCount() == 0); + assert(Command->getNumArgs() == 0); if (!Command->isDirectionExplicit()) { // User didn't provide a direction argument. @@ -362,8 +362,8 @@ void Sema::checkBlockCommandEmptyParagraph(BlockCommandComment *Command) { ParagraphComment *Paragraph = Command->getParagraph(); if (Paragraph->isWhitespace()) { SourceLocation DiagLoc; - if (Command->getArgCount() > 0) - DiagLoc = Command->getArgRange(Command->getArgCount() - 1).getEnd(); + if (Command->getNumArgs() > 0) + DiagLoc = Command->getArgRange(Command->getNumArgs() - 1).getEnd(); if (!DiagLoc.isValid()) DiagLoc = Command->getCommandNameRange().getEnd(); Diag(DiagLoc, diag::warn_doc_block_command_empty_paragraph) |

