[clang-tools-extra] [clang-tidy] Add `readability-redundant-zero-initializer` (PR #209367)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 5 06:10:59 PDT 2026
================
@@ -0,0 +1,16 @@
+// RUN: %check_clang_tidy -std=c90,c99,c11,c17 -check-suffixes=C17 %s readability-redundant-zero-initializer %t
----------------
vbvictor wrote:
```suggestion
// RUN: %check_clang_tidy -std=c17-or-earlier %s readability-redundant-zero-initializer %t
```
Support for such suffix was added recently
"-check-suffixes=C17" I guess is not needed
https://github.com/llvm/llvm-project/pull/209367
More information about the cfe-commits
mailing list