[clang] [Modules] Delay deserialization of preferred_name attribute at r… (PR #122726)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 00:47:18 PST 2025


================
@@ -3240,6 +3244,7 @@ def PreferredName : InheritableAttr {
   let InheritEvenIfAlreadyPresent = 1;
   let MeaningfulToClassTemplateDefinition = 1;
   let TemplateDependent = 1;
+  let DeferDeserialization = 1;
----------------
ChuanqiXu9 wrote:

Maybe it is better to add comment here to explain why we want to defer PreferredName.

https://github.com/llvm/llvm-project/pull/122726


More information about the cfe-commits mailing list