]> granicus.if.org Git - clang/commitdiff
Fix latent bug. This can't actually manifest at the moment, but is a time-bomb
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 8 May 2014 00:25:01 +0000 (00:25 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 8 May 2014 00:25:01 +0000 (00:25 +0000)
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

lib/Serialization/ASTReader.cpp

index b6b0913811661ee8dacaada25395ca36da826fa7..1e61bd04db820273d6fa0fd103ebfcad34c9a28c 100644 (file)
@@ -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<IdentifierInfo *, SmallVector<Decl *, 2> >