[clang-tools-extra] [clang-tidy] support query based custom check (PR #131804)
Congcong Cai via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 20 03:37:56 PDT 2025
HerrCai0907 wrote:
> checkfactories could read name of checks from an options config.
Then everything go back. checkfactories or some other part in core will parse the options and create check instance. It is similar as what this pr did.
Put everything in config also have some disadvantages, because there are some array structured data, in check, we need to guess all possible key and try them. It waste CPU when there are lots of custom checks and looks like hack.
https://github.com/llvm/llvm-project/pull/131804
More information about the cfe-commits
mailing list