[PATCH] D66042: [analyzer] Analysis: "Disable" core checkers

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 04:11:55 PDT 2019


alexfh added a comment.

In D66042#1627760 <https://reviews.llvm.org/D66042#1627760>, @NoQ wrote:

> In D66042#1627193 <https://reviews.llvm.org/D66042#1627193>, @alexfh wrote:
>
> > But without this patch clang seems to have the same two ANALYZE log lines regardless of whether I enable `core` checkers or not
>
>
> Yup, it seems as if clang-tidy enables `core` as long as at least one Static Analyzer checker is enabled (even if it's path-insensitive).


It would be nice, if Static Analyzer would hide this from the users completely. The user would specify the list of checkers they need and CSA would enable whatever additional checkers it needs (if any) and then filter out their results. Is it feasible?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66042/new/

https://reviews.llvm.org/D66042





More information about the cfe-commits mailing list