@@ -10478,6 +10478,37 @@ void ASTReader::finishPendingActions() {
10478
10478
for (Decl *D : PendingIncompleteDeclChains)
10479
10479
markIncompleteDeclChain (D);
10480
10480
PendingIncompleteDeclChains.clear ();
10481
+
10482
+ assert (PendingIdentifierInfos.empty () &&
10483
+ " Should be empty at the end of finishPendingActions" );
10484
+ assert (PendingDeducedFunctionTypes.empty () &&
10485
+ " Should be empty at the end of finishPendingActions" );
10486
+ assert (PendingDeducedVarTypes.empty () &&
10487
+ " Should be empty at the end of finishPendingActions" );
10488
+ assert (PendingDeclChains.empty () &&
10489
+ " Should be empty at the end of finishPendingActions" );
10490
+ assert (PendingMacroIDs.empty () &&
10491
+ " Should be empty at the end of finishPendingActions" );
10492
+ assert (PendingDeclContextInfos.empty () &&
10493
+ " Should be empty at the end of finishPendingActions" );
10494
+ assert (PendingUpdateRecords.empty () &&
10495
+ " Should be empty at the end of finishPendingActions" );
10496
+ assert (PendingObjCExtensionIvarRedeclarations.empty () &&
10497
+ " Should be empty at the end of finishPendingActions" );
10498
+ assert (PendingFakeDefinitionData.empty () &&
10499
+ " Should be empty at the end of finishPendingActions" );
10500
+ assert (PendingDefinitions.empty () &&
10501
+ " Should be empty at the end of finishPendingActions" );
10502
+ assert (PendingWarningForDuplicatedDefsInModuleUnits.empty () &&
10503
+ " Should be empty at the end of finishPendingActions" );
10504
+ assert (PendingBodies.empty () &&
10505
+ " Should be empty at the end of finishPendingActions" );
10506
+ assert (PendingAddedClassMembers.empty () &&
10507
+ " Should be empty at the end of finishPendingActions" );
10508
+ assert (PendingMergedDefinitionsToDeduplicate.empty () &&
10509
+ " Should be empty at the end of finishPendingActions" );
10510
+ assert (PendingIncompleteDeclChains.empty () &&
10511
+ " Should be empty at the end of finishPendingActions" );
10481
10512
}
10482
10513
10483
10514
void ASTReader::diagnoseOdrViolations () {
0 commit comments