[clang] [clang] Warn on signed char array constant conversion (PR #203792)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 06:08:24 PDT 2026


================
@@ -646,6 +646,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.
 
+- Fixed a missing ``-Wconstant-conversion`` diagnostic for ``signed char`` array initialization.
----------------
AaronBallman wrote:

```suggestion
- Fixed a missing ``-Wconstant-conversion`` diagnostic for ``signed char`` array initialization. (#GH181730)
```

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


More information about the cfe-commits mailing list