From 640f552acea46ce7a5679175d6028178151e20ad Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 19 Feb 2009 22:14:49 +0000 Subject: [PATCH] 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 --- lib/Lex/PTHLexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }