[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:57 PDT 2025
================
@@ -62,6 +62,8 @@ class ClangTidyCheckFactories {
});
}
+ void erase(llvm::StringRef CheckName) { Factories.erase(CheckName); }
----------------
vbvictor wrote:
```suggestion
void eraseCheck(llvm::StringRef CheckName) { Factories.erase(CheckName); }
```
We already have `registerCheck` and `createChecks` methods, `erase` could also have this suffix
https://github.com/llvm/llvm-project/pull/131804
More information about the cfe-commits
mailing list