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.

llvm-svn: 208270
This commit is contained in:
Richard Smith 2014-05-08 00:25:01 +00:00
parent e08a91ecd2
commit 93914a9518
1 changed files with 1 additions and 1 deletions

View 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> >