[clang-tools-extra] [clang-tidy] Stop ignoring `-std` argument in `check_clang_tidy.py` for C files (PR #150791)
Victor Chernyakin via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 26 21:29:07 PDT 2025
================
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s readability-non-const-parameter %t
+// RUN: %check_clang_tidy -std=c99,c11,c17 %s readability-non-const-parameter %t
----------------
localspook wrote:
The single test case in this file is a K&R-style function, so I don't think there's anything to fix.
https://github.com/llvm/llvm-project/pull/150791
More information about the cfe-commits
mailing list