[clang] [Modules] Delay deserialization of preferred_name attribute at r… (PR #122726)
Viktoriia Bakalova via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 04:49:03 PST 2025
================
@@ -10079,6 +10079,11 @@ void ASTReader::finishPendingActions() {
}
PendingDeducedVarTypes.clear();
+ // Load the delayed preferred name attributes.
+ for (unsigned I = 0; I != PendingDeferredAttributes.size(); ++I)
+ loadDeferredAttribute(PendingDeferredAttributes[I]);
+ PendingDeferredAttributes.clear();
----------------
VitaNuo wrote:
Thanks. The original snippet seems more concise though, so it might be preferable to stick to it for now.
https://github.com/llvm/llvm-project/pull/122726
More information about the cfe-commits
mailing list