diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-04 00:47:28 +0000 | 
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-05-04 00:47:28 +0000 | 
| commit | 6738e430a9919f5a94893ade27c2845f89c2938d (patch) | |
| tree | 071501fb9c0d42235ede2edd4738ad7249fca8ba /clang/lib | |
| parent | fe806906d46ffe2b9acae8feef33715a7d417240 (diff) | |
| download | bcm5719-llvm-6738e430a9919f5a94893ade27c2845f89c2938d.tar.gz bcm5719-llvm-6738e430a9919f5a94893ade27c2845f89c2938d.zip  | |
[doc parsing]: Make warning about unknown command
tags off by default for now. Move diagnostic code
to DiagnosticCommentKinds.td. // rdar://12381408
llvm-svn: 181081
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/AST/CommentLexer.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/AST/CommentLexer.cpp b/clang/lib/AST/CommentLexer.cpp index 82efac64ff5..70410d61085 100644 --- a/clang/lib/AST/CommentLexer.cpp +++ b/clang/lib/AST/CommentLexer.cpp @@ -1,6 +1,6 @@  #include "clang/AST/CommentLexer.h" -#include "clang/Lex/LexDiagnostic.h"  #include "clang/AST/CommentCommandTraits.h" +#include "clang/AST/CommentDiagnostic.h"  #include "clang/Basic/CharInfo.h"  #include "llvm/ADT/StringExtras.h"  #include "llvm/ADT/StringSwitch.h" @@ -354,8 +354,7 @@ void Lexer::lexCommentText(Token &T) {          if (!Info) {            formTokenWithChars(T, TokenPtr, tok::unknown_command);            T.setUnknownCommandName(CommandName); -          Diag(T.getLocation(), -               diag::warn_unknown_comment_command_name); +          Diag(T.getLocation(), diag::warn_unknown_comment_command_name);            return;          }          if (Info->IsVerbatimBlockCommand) {  | 

