[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:17 PST 2025


================
@@ -713,6 +713,10 @@ class Attr {
   // attribute may be documented under multiple categories, more than one
   // Documentation entry may be listed.
   list<Documentation> Documentation;
+  // Set to true if deserialization of this attribute must be deferred until 
+  // the parent Decl is fully deserialized (during header module file
+  // deserialization).
----------------
ChuanqiXu9 wrote:

It reads better if we can give an example to describe when we want to defer it.

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


More information about the cfe-commits mailing list