[clang] [Clang] Avoid null deref in lambda attribute compat warning (PR #161096)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 03:50:03 PDT 2025


================
@@ -432,6 +432,8 @@ Bug Fixes to C++ Support
 - Fix an assertion failure when taking the address on a non-type template parameter argument of
   object type. (#GH151531)
 - Suppress ``-Wdouble-promotion`` when explicitly asked for with C++ list initialization (#GH33409).
+- Fixed a crash in the pre-C++23 warning for attributes before a lambda
+  declarator by unifying format args to ``%0`` as attribute name, ``%1`` as selector (#GH161070).
----------------
a-tarasyuk wrote:

:) Thanks, I've updated the release notes

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


More information about the cfe-commits mailing list