[clang] Add diag for ctor initializers + increase limit (PR #239011)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 07:53:22 PST 2026
================
@@ -784,6 +784,9 @@ documentation](CIR/index.md) for more information regarding ClangIR's status and
`-Wunsafe-buffer-usage-in-format-attr-call` now works when it is the only
Safe Buffers warning enabled.
+- Clang will now no longer assert or miscompile on a constructor that has more than 65535 base and member initializers.
+ Or limit is now effectively 2^32-1.
+
----------------
cor3ntin wrote:
```suggestion
- Clang will now no longer assert or miscompile on a constructor that has more than 65535 base and member initializers. (#GH219366)
```
I'm sure something else would explode
https://github.com/llvm/llvm-project/pull/239011
More information about the cfe-commits
mailing list