[clang-tools-extra] [clang-tidy] Add `-std` argument in `check_clang_tidy.py` for C files (PR #150791)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 28 08:25:37 PDT 2025
================
@@ -1,6 +1,5 @@
-// RUN: %check_clang_tidy %s readability-magic-numbers %t --
+// RUN: %check_clang_tidy -std=c23-or-later %s readability-magic-numbers %t
// Don't crash
_BitInt(128) A = 4533629751480627964421wb;
-// CHECK-MESSAGES: warning
----------------
vbvictor wrote:
Thank you
https://github.com/llvm/llvm-project/pull/150791
More information about the cfe-commits
mailing list