[clang] [OpenCL] Diagnose error for zero-length array (PR #193163)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 21 07:48:34 PDT 2026


https://github.com/cor3ntin commented:

This change needs a release note.
Please add an entry to `clang/docs/ReleaseNotes.rst` in the section the most adapted to the change, and referencing any Github issue this change fixes. Thanks!

This should be highlighted in the potentially breaking change section.
And maybe it's something we should keep supporting with a warning, as it was never rejected before by clang

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


More information about the cfe-commits mailing list