[clang-tools-extra] [clang-tidy] Run analysis even with no checks (as long as `--allow-no-checks` is passed) (PR #194006)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Mon May 11 01:51:08 PDT 2026
================
@@ -1,3 +1,3 @@
-// RUN: clang-tidy -checks=-*,google-explicit-constructor %s 2>&1 | FileCheck %s
+// RUN: clang-tidy -checks=-*,google-explicit-constructor %s -- 2>&1 | FileCheck %s
----------------
vbvictor wrote:
Oh ok, I get it now.
In the future we can try to populate build directory with some proper compile_commands as well. (Maybe generate for all tests based on their names but sure it's for another time)
https://github.com/llvm/llvm-project/pull/194006
More information about the cfe-commits
mailing list