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 | 395c59c690db303fa016e64ac22151a29fbe4197 (patch) | |
tree | 78e359d41d363ff7f3a69dd085cb263eb53cfdc6 /lib/Lex/PTHLexer.cpp | |
parent | b83d287bc7f47d36fb0751a481e2ef9308b37252 (diff) |
Make PTH warnings actual warnings instead of 'notes'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PTHLexer.cpp')
-rw-r--r-- | lib/Lex/PTHLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp index ac510af8b9..b0a610d3d3 100644 --- a/lib/Lex/PTHLexer.cpp +++ b/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); } |