summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-19 22:14:49 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-19 22:14:49 +0000
commite76eb060c7e5d9f0460da2b0a23415fbc20ca373 (patch)
treeb0a1974e006f9657c085df2bafdb83e7a149ca2a
parent36b005db45fd63254b0ad0edcf4160eb23b3e1d5 (diff)
downloadbcm5719-llvm-e76eb060c7e5d9f0460da2b0a23415fbc20ca373.tar.gz
bcm5719-llvm-e76eb060c7e5d9f0460da2b0a23415fbc20ca373.zip
Fix another PTH warning that should not be a note.
llvm-svn: 65072
-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