[PATCH] D46159: [clang-tidy] Add a flag to enable alpha checkers

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 27 13:24:34 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D46159#1081559, @NoQ wrote:

> Am i understanding correctly that the new `-enable-alpha-checks` flag doesn't enable alpha checks, but it only allows enabling them with a separate command?


Yes, absolutely! Same with my followup https://reviews.llvm.org/D46188.
Perhaps something like `-allow-enabling-alpha-checks` would be a better name, but it is kinda long.

> Also wanted to mention that developers who are interested in running analyzer alpha checkers over a compilation database also have an option of trying to use `scan-build-py` which has support for both generating compilation databases from arbitrary build systems and running over existing compilation databases.

Good to know, i think this is the first time i'm hearing of it.

> This tool is also not recommended for actual users due to a number of regressions from the existing scan-build, but it might get the job done when it comes to developing and testing the analyzer itself.




Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D46159





More information about the cfe-commits mailing list