[clang-tools-extra] [clang-tidy] support query based custom check (PR #131804)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 15 23:52:56 PDT 2025
================
@@ -53,6 +53,11 @@ LLVM_INSTANTIATE_REGISTRY(clang::tidy::ClangTidyModuleRegistry)
namespace clang::tidy {
+namespace custom {
+extern void registerCustomChecks(ClangTidyOptions const &O,
----------------
vbvictor wrote:
```suggestion
extern void registerCustomChecks(const ClangTidyOptions &O,
```
https://github.com/llvm/llvm-project/pull/131804
More information about the cfe-commits
mailing list