[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 6: Destructuring Expansion Statements) (PR #169685)

Shafik Yaghmour via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 9 10:46:28 PDT 2026


================
@@ -3738,6 +3738,8 @@ def err_conflicting_codeseg_attribute : Error<
 def warn_duplicate_codeseg_attribute : Warning<
   "duplicate code segment specifiers">, InGroup<Section>;
 
+def err_expansion_stmt_invalid_init : Error<
+  "cannot expand expression of type %0">;
----------------
shafik wrote:

Which PR has the test that covers this diagnostic?

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


More information about the llvm-branch-commits mailing list