r208270 - Fix latent bug. This can't actually manifest at the moment, but is a time-bomb

Richard Smith richard-llvm at metafoo.co.uk
Wed May 7 17:25:01 PDT 2014


Author: rsmith
Date: Wed May  7 19:25:01 2014
New Revision: 208270

URL: http://llvm.org/viewvc/llvm-project?rev=208270&view=rev
Log:
Fix latent bug. This can't actually manifest at the moment, but is a time-bomb
for the next time someone adds something to this function.

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=208270&r1=208269&r2=208270&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Wed May  7 19:25:01 2014
@@ -7977,7 +7977,7 @@ std::string ASTReader::getOwningModuleNa
 void ASTReader::finishPendingActions() {
   while (!PendingIdentifierInfos.empty() || !PendingDeclChains.empty() ||
          !PendingMacroIDs.empty() || !PendingDeclContextInfos.empty() ||
-         !PendingOdrMergeChecks.empty()) {
+         !PendingUpdateRecords.empty() || !PendingOdrMergeChecks.empty()) {
     // If any identifiers with corresponding top-level declarations have
     // been loaded, load those declarations now.
     typedef llvm::DenseMap<IdentifierInfo *, SmallVector<Decl *, 2> >





More information about the cfe-commits mailing list