зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
395c59c690
Коммит
640f552ace
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче