]> granicus.if.org Git - clang/commitdiff
Fix another PTH warning that should not be a note.
authorTed Kremenek <kremenek@apple.com>
Thu, 19 Feb 2009 22:14:49 +0000 (22:14 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 19 Feb 2009 22:14:49 +0000 (22:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65072 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PTHLexer.cpp

index b0a610d3d3e022d0225a8d636e6c698a4a1fcfb3..d67a4456c6bf4545a7ee61908efc9da0e82e52e2 100644 (file)
@@ -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;
     }