[clang-tools-extra] [clang-tidy][NFC] Add missing Option tests in `readability` [2/N] (PR #184708)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 5 08:20:28 PST 2026
================
@@ -1,7 +1,16 @@
// RUN: %check_clang_tidy %s readability-suspicious-call-argument %t \
// RUN: -config="{CheckOptions: {readability-suspicious-call-argument.Abbreviations: 'crash='}}" -- -std=c++11-or-later
+// RUN: %check_clang_tidy %s readability-suspicious-call-argument %t -check-suffix=MINLEN \
+// RUN: -config='{CheckOptions: {readability-suspicious-call-argument.MinimumIdentifierNameLength: 10}}' -- -std=c++11-or-later
void f() {}
// CHECK-MESSAGES: warning: Invalid abbreviation configuration 'crash=', ignoring.
-// TODO: Add testcases for other options
----------------
vbvictor wrote:
This is crazy TODO
https://github.com/llvm/llvm-project/pull/184708
More information about the cfe-commits
mailing list