[PATCH] D60925: [analyzer] Don't display implementation checkers under -analyzer-checker-help, but do under the new flag -analyzer-checker-help-hidden

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 01:39:42 PDT 2019


Szelethus added a comment.

In D60925#1489034 <https://reviews.llvm.org/D60925#1489034>, @o.gyorgy wrote:

> Great, at least the users will not enable the debug checkers by accident!
>  We will check on the CodeChecker side if any configuration needs to be updated.
>
> LGTM


I committed after checking whether this works with `CodeChecker`. I listed the enabled-by-default list with `CodeChecker checkers --only-enabled`, and made sure that the list didn't change after this patch. I also made sure that `CodeChecker checkers --only-enabled` is consistent with `clang [blahblah] -analyzer-list-enabled-checkers`, meaning that what `CodeChecker` requested was actually enabled, and nothing else (except modeling checkers, of course).

I guess adding a strictly developer only option to list the hidden checkers as well might be desirable, if we need to disable certain modeling checkers to get rid of some crashes.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60925





More information about the cfe-commits mailing list