r177369 - Minor optimization to r177367 to treat a module with missing dependencies as out-of-date rather than missing.
Douglas Gregor
dgregor at apple.com
Mon Mar 18 17:38:50 PDT 2013
Author: dgregor
Date: Mon Mar 18 19:38:50 2013
New Revision: 177369
URL: http://llvm.org/viewvc/llvm-project?rev=177369&view=rev
Log:
Minor optimization to r177367 to treat a module with missing dependencies as out-of-date rather than missing.
Modified:
cfe/trunk/lib/Serialization/ASTReader.cpp
Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=177369&r1=177368&r2=177369&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Mon Mar 18 19:38:50 2013
@@ -1789,7 +1789,7 @@ ASTReader::ReadControlBlock(ModuleFile &
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;
More information about the cfe-commits
mailing list