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
diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp
index b0a610d..d67a445 100644
--- a/lib/Lex/PTHLexer.cpp
+++ b/lib/Lex/PTHLexer.cpp
@@ -595,7 +595,7 @@
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;
}