[clang] [clang] more useful error message for decomposition declaration missing initializer (PR #127924)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 08:51:52 PDT 2026


================
@@ -679,6 +679,8 @@ Improvements to Clang's diagnostics
 - Diagnostics for the C++11 range-based for statement now report the correct
   iterator type in notes for invalid iterator types.
 
+- Added a clearer diagnostic for uninitialized decomposition declarations.
----------------
AaronBallman wrote:

```suggestion
- Added a clearer diagnostic for uninitialized decomposition declarations. (#GH90107)
```

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


More information about the cfe-commits mailing list