[clang-tools-extra] [clang-tidy] add option to avoid "no checks enabled" error (PR #96122)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 23 07:08:11 PDT 2024


================
@@ -0,0 +1,5 @@
+// RUN: not clang-tidy %s -checks='-*'
+// RUN: clang-tidy %s -checks='-*' --allow-no-checks | FileCheck --match-full-lines %s
+
+
+// CHECK: No checks enabled.
----------------
5chmidti wrote:

missing newline

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


More information about the cfe-commits mailing list