[clang] [clang] Implement CWG3135 - constexpr structured bindings with prvalues from tuples (PR #191880)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 04:44:18 PDT 2026


================
@@ -49,19 +49,16 @@ C++ Specific Potentially Breaking Changes
 - Clang now correctly rejects ``export`` declarations in module implementation
   partitions. (#GH107602)
 
+- Clang now uses non-reference types for structured bindings whose initializer
+  returns a prvalue.
+
----------------
Sirraide wrote:

Also please include in the release note that this is CWG3135

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


More information about the cfe-commits mailing list