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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits