[clang-tools-extra] [clang-tidy] Add `readability-redundant-zero-initializer` (PR #209367)

David Meng via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 5 07:28:12 PDT 2026


================
@@ -0,0 +1,16 @@
+// RUN: %check_clang_tidy -std=c90,c99,c11,c17 -check-suffixes=C17 %s readability-redundant-zero-initializer %t
----------------
davidmenggx wrote:

I think the `-check-suffixes=C17` is still needed so the pre-C23 run doesn't match against the -C23 CHECK lines

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


More information about the cfe-commits mailing list