From: Richard Smith Date: Thu, 8 May 2014 00:25:01 +0000 (+0000) Subject: Fix latent bug. This can't actually manifest at the moment, but is a time-bomb X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9da57db34b53258ac428471523b25040f2c237c;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208270 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index b6b0913811..1e61bd04db 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp @@ -7977,7 +7977,7 @@ std::string ASTReader::getOwningModuleNameForDiagnostic(const Decl *D) { 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 >