diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-10-17 21:47:53 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-10-17 21:47:53 +0000 |
commit | 66d5ce11b9426f6a59f61a03cbd8dbf047cc9350 (patch) | |
tree | 442f8dc651384ede75ec807a5c005bc659584325 /lib | |
parent | 454b57ac42c9ce0bed9b7a99c2ed5a18fbcd286b (diff) | |
download | clang-66d5ce11b9426f6a59f61a03cbd8dbf047cc9350.tar.gz |
Move about 20 random diagnostics under -W flags. Patch by Ahmed Charles!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Lex/Lexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp index a98d889dbc..796110a34f 100644 --- a/lib/Lex/Lexer.cpp +++ b/lib/Lex/Lexer.cpp @@ -2737,7 +2737,7 @@ LexNextToken: } else if (Char == '@' && Features.MicrosoftExt) {// %:@ -> #@ -> Charize CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); if (!isLexingRawMode()) - Diag(BufferPtr, diag::charize_microsoft_ext); + Diag(BufferPtr, diag::ext_charize_microsoft); Kind = tok::hashat; } else { // '%:' -> '#' // We parsed a # character. If this occurs at the start of the line, @@ -2921,7 +2921,7 @@ LexNextToken: } else if (Char == '@' && Features.MicrosoftExt) { // #@ -> Charize Kind = tok::hashat; if (!isLexingRawMode()) - Diag(BufferPtr, diag::charize_microsoft_ext); + Diag(BufferPtr, diag::ext_charize_microsoft); CurPtr = ConsumeChar(CurPtr, SizeTmp, Result); } else { // We parsed a # character. If this occurs at the start of the line, |