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:
Douglas Gregor 2013-03-19 00:38:50 +00:00
parent d15a8918fb
commit 2f1806e83f
1 changed files with 1 additions and 1 deletions

View File

@ -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;