diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-02-19 22:13:40 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-02-19 22:13:40 +0000 |
commit | 36b005db45fd63254b0ad0edcf4160eb23b3e1d5 (patch) | |
tree | 64695657418ed8ce7b8698a1fc2655cba2944fe4 /clang/lib/Lex/PTHLexer.cpp | |
parent | a67033294a028a9a33530bb3454758ba33acd842 (diff) | |
download | bcm5719-llvm-36b005db45fd63254b0ad0edcf4160eb23b3e1d5.tar.gz bcm5719-llvm-36b005db45fd63254b0ad0edcf4160eb23b3e1d5.zip |
Make PTH warnings actual warnings instead of 'notes'.
llvm-svn: 65071
Diffstat (limited to 'clang/lib/Lex/PTHLexer.cpp')
-rw-r--r-- | clang/lib/Lex/PTHLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp index ac510af8b94..b0a610d3d3e 100644 --- a/clang/lib/Lex/PTHLexer.cpp +++ b/clang/lib/Lex/PTHLexer.cpp @@ -584,7 +584,7 @@ PTHManager::~PTHManager() { static void InvalidPTH(Diagnostic *Diags, const char* Msg = 0) { if (!Diags) return; if (!Msg) Msg = "Invalid or corrupted PTH file"; - unsigned DiagID = Diags->getCustomDiagID(Diagnostic::Note, Msg); + unsigned DiagID = Diags->getCustomDiagID(Diagnostic::Warning, Msg); Diags->Report(FullSourceLoc(), DiagID); } |