forked from OSchip/llvm-project
Fix build error on bots after 9f151df178
Attempt to fix build error on bots not seen locally.
This commit is contained in:
parent
773ad135a3
commit
5cb8d93205
clang/lib/Serialization
|
@ -3921,7 +3921,7 @@ ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F,
|
|||
// Don't emit module relocation error if we have -fno-validate-pch
|
||||
if (!PP.getPreprocessorOpts().DisablePCHValidation && !ModMap) {
|
||||
if ((ClientLoadCapabilities & ARR_OutOfDate) == 0) {
|
||||
if (auto *ASTFE = M ? M->getASTFile() : nullptr) {
|
||||
if (auto ASTFE = M ? M->getASTFile() : None) {
|
||||
// This module was defined by an imported (explicit) module.
|
||||
Diag(diag::err_module_file_conflict) << F.ModuleName << F.FileName
|
||||
<< ASTFE->getName();
|
||||
|
|
Loading…
Reference in New Issue