diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/AST/CommentLexer.h | 4 | ||||
-rw-r--r-- | include/clang/AST/CommentSema.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/include/clang/AST/CommentLexer.h b/include/clang/AST/CommentLexer.h index 99b95d3404..f2636973ff 100644 --- a/include/clang/AST/CommentLexer.h +++ b/include/clang/AST/CommentLexer.h @@ -34,8 +34,8 @@ enum TokenKind { eof, newline, text, - unknown_command, - command, + unknown_command, // Command that does not have an ID. + command, // Command with an ID. verbatim_block_begin, verbatim_block_line, verbatim_block_end, diff --git a/include/clang/AST/CommentSema.h b/include/clang/AST/CommentSema.h index 5ebf5f0afa..c913d28dae 100644 --- a/include/clang/AST/CommentSema.h +++ b/include/clang/AST/CommentSema.h @@ -139,7 +139,11 @@ public: InlineContentComment *actOnUnknownCommand(SourceLocation LocBegin, SourceLocation LocEnd, - StringRef Name); + StringRef CommandName); + + InlineContentComment *actOnUnknownCommand(SourceLocation LocBegin, + SourceLocation LocEnd, + unsigned CommandID); TextComment *actOnText(SourceLocation LocBegin, SourceLocation LocEnd, |