[clang-tools-extra] [clang-tidy] support query based custom check (PR #131804)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 10 13:17:49 PDT 2025
================
@@ -33,6 +33,9 @@ If CMake is configured with ``CLANG_TIDY_ENABLE_STATIC_ANALYZER=NO``,
:program:`clang-tidy` will not be built with support for the
``clang-analyzer-*`` checks or the ``mpi-*`` checks.
+If CMake is configured with ``CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS=NO``,
+:program:`clang-tidy` will not be built with support for query based checks.
+
----------------
vbvictor wrote:
Is there any practical reason to disable CUSTOM_CHECKS?
This adds `#if CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS` as complexity which should be avoided IMO.
https://github.com/llvm/llvm-project/pull/131804
More information about the cfe-commits
mailing list