Files
clang-p2996/clang/lib/Sema/SemaInit.cpp
Evan Smal 1499cce264 [clang] Improve diagnostic for "initializer-string for char array is too long"
This patch improves the diagnostic message "initializer-string for
char array is too long" by specifying an expected array length and by
indicating that the initializer string implicitly includes the
null terminator.

Fixes #58829

Differential Revision: https://reviews.llvm.org/D141283
2023-01-19 13:13:08 +01:00

416 KiB