forked from OSchip/llvm-project
Minor optimization to r177367 to treat a module with missing dependencies as out-of-date rather than missing.
llvm-svn: 177369
This commit is contained in:
parent
d15a8918fb
commit
2f1806e83f
|
@ -1789,7 +1789,7 @@ ASTReader::ReadControlBlock(ModuleFile &F,
|
|||
ClientLoadCapabilities)) {
|
||||
case Failure: return Failure;
|
||||
// If we have to ignore the dependency, we'll have to ignore this too.
|
||||
case Missing: return Missing;
|
||||
case Missing:
|
||||
case OutOfDate: return OutOfDate;
|
||||
case VersionMismatch: return VersionMismatch;
|
||||
case ConfigurationMismatch: return ConfigurationMismatch;
|
||||
|
|
Loading…
Reference in New Issue