diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-02-19 22:14:49 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-02-19 22:14:49 +0000 |
| commit | e76eb060c7e5d9f0460da2b0a23415fbc20ca373 (patch) | |
| tree | b0a1974e006f9657c085df2bafdb83e7a149ca2a | |
| parent | 36b005db45fd63254b0ad0edcf4160eb23b3e1d5 (diff) | |
| download | bcm5719-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.cpp | 2 |
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; } |

