[clang-tools-extra] [clang-tidy] Stop ignoring `-std` argument in `check_clang_tidy.py` for C files (PR #150791)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 26 13:33:09 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
----------------
vbvictor wrote:

It didn't work with c23? Please leave a fixme.

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


More information about the cfe-commits mailing list