================ @@ -428,10 +428,22 @@ class ASTWriter : public ASTDeserializationListener, /// record containing modifications to them. DeclUpdateMap DeclUpdates; - /// DeclUpdates added during parsing the GMF. We split these from - /// DeclUpdates since we want to add these updates in GMF on need. + /// DeclUpdates added during parsing the module unit. We split + /// these from DeclUpdates since we want to add these updates on need. /// Only meaningful for reduced BMI. - DeclUpdateMap DeclUpdatesFromGMF; + DeclUpdateMap DeclUpdatesLazy; + + /// Map from parents to the updated function definitions and variable + /// definitions. + /// We need this as we need to apply these updates if their parents are + /// touched. + llvm::DenseMap<const Decl *, llvm::SmallVector<const Decl *>> + AddedDefinitions; ---------------- ChuanqiXu9 wrote:
Unused declaration. Will remove before landing. https://github.com/llvm/llvm-project/pull/175498 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
