[clang] [analyzer] Prettify checker registration and unittest code (PR #147797)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 21 06:58:21 PDT 2025
================
@@ -139,10 +139,9 @@ class SValTest : public testing::TestWithParam<TestClangConfig> {};
\
void add##NAME##SValCollector(AnalysisASTConsumer &AnalysisConsumer, \
AnalyzerOptions &AnOpts) { \
- AnOpts.CheckersAndPackages = {{"test.##NAME##SValCollector", true}}; \
----------------
NagyDonat wrote:
Done in https://github.com/llvm/llvm-project/pull/147797/commits/0523e081e628434c6ac301ba75be0b207aacce97
https://github.com/llvm/llvm-project/pull/147797
More information about the cfe-commits
mailing list