[clang] [clang][Sema] Avoid out-of-memory crash on huge designated initializer indices (PR #205503)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 30 17:52:27 PDT 2026


================
@@ -720,6 +720,11 @@ latest release, please see the [Clang Web Site](https://clang.llvm.org) or the
 - Fixed an assertion where we improperly handled implicit conversions to integral types from an atomic-type with a conversion function. (#GH201770)
 - Fixed assertion failures involving code completion with delayed default arguments and exception specifications. (#GH200879)
 - Fixed a regression where calling a function that takes a class-type parameter by value inside `decltype` of a concept could be incorrectly rejected when used as a non-type template argument. (#GH175831)
+- Clang now diagnoses inferred-size arrays with huge designated initializer
----------------
erichkeane wrote:

we are not manuallly word-wrapping this file anymore, see above.

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


More information about the cfe-commits mailing list