diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-06 19:03:12 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-06 19:03:12 +0000 |
commit | 7d9b51107999c1c1fada7319c4687fe570eb2c0b (patch) | |
tree | e433a68cfea61b090e575f2a947514400c1396bf /include/clang/AST/CommentSema.h | |
parent | 38447a40795ef140a5d14ce43e31b60276c8d207 (diff) |
Comment parser and sema: remove useless return values
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/CommentSema.h')
-rw-r--r-- | include/clang/AST/CommentSema.h | 62 |
1 files changed, 28 insertions, 34 deletions
diff --git a/include/clang/AST/CommentSema.h b/include/clang/AST/CommentSema.h index 114cfc577b..bbb7c94e24 100644 --- a/include/clang/AST/CommentSema.h +++ b/include/clang/AST/CommentSema.h @@ -95,44 +95,40 @@ public: SourceLocation LocEnd, StringRef Name); - BlockCommandComment *actOnBlockCommandArgs( - BlockCommandComment *Command, - ArrayRef<BlockCommandComment::Argument> Args); + void actOnBlockCommandArgs(BlockCommandComment *Command, + ArrayRef<BlockCommandComment::Argument> Args); - BlockCommandComment *actOnBlockCommandFinish(BlockCommandComment *Command, - ParagraphComment *Paragraph); + void actOnBlockCommandFinish(BlockCommandComment *Command, + ParagraphComment *Paragraph); ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin, SourceLocation LocEnd, StringRef Name); - ParamCommandComment *actOnParamCommandDirectionArg( - ParamCommandComment *Command, - SourceLocation ArgLocBegin, - SourceLocation ArgLocEnd, - StringRef Arg); + void actOnParamCommandDirectionArg(ParamCommandComment *Command, + SourceLocation ArgLocBegin, + SourceLocation ArgLocEnd, + StringRef Arg); - ParamCommandComment *actOnParamCommandParamNameArg( - ParamCommandComment *Command, - SourceLocation ArgLocBegin, - SourceLocation ArgLocEnd, - StringRef Arg); + void actOnParamCommandParamNameArg(ParamCommandComment *Command, + SourceLocation ArgLocBegin, + SourceLocation ArgLocEnd, + StringRef Arg); - ParamCommandComment *actOnParamCommandFinish(ParamCommandComment *Command, - ParagraphComment *Paragraph); + void actOnParamCommandFinish(ParamCommandComment *Command, + ParagraphComment *Paragraph); TParamCommandComment *actOnTParamCommandStart(SourceLocation LocBegin, SourceLocation LocEnd, StringRef Name); - TParamCommandComment *actOnTParamCommandParamNameArg( - TParamCommandComment *Command, - SourceLocation ArgLocBegin, - SourceLocation ArgLocEnd, - StringRef Arg); + void actOnTParamCommandParamNameArg(TParamCommandComment *Command, + SourceLocation ArgLocBegin, + SourceLocation ArgLocEnd, + StringRef Arg); - TParamCommandComment *actOnTParamCommandFinish(TParamCommandComment *Command, - ParagraphComment *Paragraph); + void actOnTParamCommandFinish(TParamCommandComment *Command, + ParagraphComment *Paragraph); InlineCommandComment *actOnInlineCommand(SourceLocation CommandLocBegin, SourceLocation CommandLocEnd, @@ -159,11 +155,10 @@ public: VerbatimBlockLineComment *actOnVerbatimBlockLine(SourceLocation Loc, StringRef Text); - VerbatimBlockComment *actOnVerbatimBlockFinish( - VerbatimBlockComment *Block, - SourceLocation CloseNameLocBegin, - StringRef CloseName, - ArrayRef<VerbatimBlockLineComment *> Lines); + void actOnVerbatimBlockFinish(VerbatimBlockComment *Block, + SourceLocation CloseNameLocBegin, + StringRef CloseName, + ArrayRef<VerbatimBlockLineComment *> Lines); VerbatimLineComment *actOnVerbatimLine(SourceLocation LocBegin, StringRef Name, @@ -173,11 +168,10 @@ public: HTMLStartTagComment *actOnHTMLStartTagStart(SourceLocation LocBegin, StringRef TagName); - HTMLStartTagComment *actOnHTMLStartTagFinish( - HTMLStartTagComment *Tag, - ArrayRef<HTMLStartTagComment::Attribute> Attrs, - SourceLocation GreaterLoc, - bool IsSelfClosing); + void actOnHTMLStartTagFinish(HTMLStartTagComment *Tag, + ArrayRef<HTMLStartTagComment::Attribute> Attrs, + SourceLocation GreaterLoc, + bool IsSelfClosing); HTMLEndTagComment *actOnHTMLEndTag(SourceLocation LocBegin, SourceLocation LocEnd, |