[clang] [clang][Sema] Fix crash when applying sentinel to block variable (PR #173866)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 2 19:09:22 PST 2026


================
@@ -639,6 +639,7 @@ Miscellaneous Bug Fixes
 
 Miscellaneous Clang Crashes Fixed
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+- Fixed a crash when applying the ``sentinel`` attribute to block variables. (#GH173820)
----------------
Sirraide wrote:

> (Honestly, we might want to just remove this section from the release notes because it seems no-one is using it. I’ll look into that)

Actually, it has seen some use so keeping it around makes sense; it’s just that it’s rather for there to be a bug that doesn’t pertain to specifically C/C++/attributes/etc.

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


More information about the cfe-commits mailing list