summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Lex/PTHLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp
index b0a610d3d3e..d67a4456c6b 100644
--- a/clang/lib/Lex/PTHLexer.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud