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

Viktoriia Bakalova via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 14 02:04:54 PST 2025


================
@@ -4925,6 +4930,11 @@ void ASTRecordWriter::AddAttr(const Attr *A) {
   Record.push_back(A->isRegularKeywordAttribute());
 
 #include "clang/Serialization/AttrPCHWrite.inc"
+
+  if (A->getKind() == attr::PreferredName)
+    // Record the actual size of preferred_name attribute (-1 to count the
----------------
VitaNuo wrote:

Sure, thank you.

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


More information about the cfe-commits mailing list