mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
Fix build error on bots after 9f151df178
Attempt to fix build error on bots not seen locally.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user