[libc++] Activate -Warray-zero when building (#110812)

This commit is contained in:
serge-sans-paille 2024-10-04 09:52:35 +00:00 committed by GitHub
parent f6f4c177ef
commit 60f3e67dae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,7 @@ function(cxx_add_warning_flags target enable_werror enable_pedantic)
-Wundef
-Wunused-template
-Wformat-nonliteral
-Wzero-length-array
)
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")