[clang] [clang][AST] Adding Release Note for Attributed Type Dedupe Fix (PR #204384)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 17 10:00:06 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Qiongsi Wu (qiongsiwu)

<details>
<summary>Changes</summary>

https://github.com/llvm/llvm-project/pull/200961 fixed a regression that could lead to significant increase in pcm/pch sizes and load time. This PR adds a release note. 

---
Full diff: https://github.com/llvm/llvm-project/pull/204384.diff


1 Files Affected:

- (modified) clang/docs/ReleaseNotes.rst (+5) 


``````````diff
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 930f26ce8f5d8..11656d560ee34 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -724,6 +724,11 @@ Bug Fixes to Attribute Support
 - Fixed a crash when a ``section`` attribute or ``#pragma clang section`` caused a
   section type conflict with a declaration whose name is not a simple identifier,
   such as a lambda's call operator. (#GH192264)
+- Fixed a regression where attributed types (such as those carrying ``_Nonnull``/``_Nullable`` attributes)
+  were not deduplicated, because the attributes' arguments were not taken into
+  account when uniquing them. The duplications could substantially increase the
+  size of precompiled headers and modules (PCH/PCM), and the time spent loading
+  them. (#GH200961)
 
 Bug Fixes to C++ Support
 ^^^^^^^^^^^^^^^^^^^^^^^^

``````````

</details>


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


More information about the cfe-commits mailing list