diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-02-19 22:14:49 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-02-19 22:14:49 +0000 |
commit | 640f552acea46ce7a5679175d6028178151e20ad (patch) | |
tree | 0ae1bed13edcc7736625902773c80161f24e7368 /lib/Lex/PTHLexer.cpp | |
parent | 395c59c690db303fa016e64ac22151a29fbe4197 (diff) |
Fix another PTH warning that should not be a note.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65072 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 b0a610d3d3..d67a4456c6 100644 --- a/lib/Lex/PTHLexer.cpp +++ b/lib/Lex/PTHLexer.cpp @@ -595,7 +595,7 @@ PTHManager* PTHManager::Create(const std::string& file, Diagnostic* Diags) { if (!File) { if (Diags) { - unsigned DiagID = Diags->getCustomDiagID(Diagnostic::Note, + unsigned DiagID = Diags->getCustomDiagID(Diagnostic::Warning, "PTH file %0 could not be read"); Diags->Report(FullSourceLoc(), DiagID) << file; } |