================
@@ -0,0 +1,7 @@
+// RUN: %check_clang_tidy %s readability-suspicious-call-argument %t \
+// RUN: -config="{CheckOptions: 
{readability-suspicious-call-argument.Abbreviations: 'crash='}}" -- 
-std=c++11-or-later
+
+void f() {}
+// CHECK-MESSAGES: warning: Invalid abbreviation configuration 'crash=', 
ignoring.
+
+// TODO: Add testcases for other options
----------------
zeyi2 wrote:

There are no tests for Options in this check. IMHO this is out of scope of this 
PR (which mainly focuses on fixing the crash), so I add a TODO here.

https://github.com/llvm/llvm-project/pull/180351
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to