[clang] [WIP][Modules] Delay deserialization of preferred_name attribute at r… (PR #122726)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 14 01:46:41 PST 2025
================
@@ -1205,6 +1205,12 @@ class ASTReader
/// been completed.
std::deque<PendingDeclContextInfo> PendingDeclContextInfos;
+ struct PendingPreferredNameAttribute {
+ uint64_t RecordIdx;
+ Decl *D;
----------------
ilya-biryukov wrote:
Could we use a more descriptive name and/or add a comment explaining why we have this `Decl` here?
`D` looks fine for parameters, but a little too short for a `struct`.
https://github.com/llvm/llvm-project/pull/122726
More information about the cfe-commits
mailing list