[PATCH] D62093: [analyzer] Divide checkers into 3 categories: released, alpha, developer

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 17 18:22:41 PDT 2019


Szelethus created this revision.
Szelethus added reviewers: NoQ, dcoughlin, dkrupp, o.gyorgy, xazax.hun, rnkovacs, Charusso, a.sidorin.
Szelethus added a project: clang.
Herald added subscribers: cfe-commits, gamesh411, donat.nagy, mikhail.ramalho, szepet, baloghadamsoftware, whisperity.
Szelethus added parent revisions: D62092: [analyzer] Create the beta package that is more stable than alpha, move unix.cstring.OutOfBounds there, D57858: [analyzer] Add a new frontend flag to display all checker options.

Implementation of the proposed <http://lists.llvm.org/pipermail/cfe-dev/2019-May/062301.html> checker categories. Quote from the mail:

> `-analyzer-checker-help`: Displays production ready (non-modeling) checkers, and beta checkers with a disclaimer for each description. Don't forget to patch clang-tidy!
> `-analyzer-checker-help-developer`: Displays only developer (modeling, debug) checkers (renamed from *-hidden).
> `-analyzer-checker-help-alpha`: Displays only alpha (non-modeling) checkers with very scary disclaimers both around the list and for each checker description.
> 
> Note how each of these is mutually exclusive. I think we shouldn't make a flag that displays all checkers, but should allow the following invocation to do so:
> 
> `clang -cc1 -analyzer-checker-help -analyzer-checker-help-alpha -analyzer-checker-help-developer`

Came to realize that this won't affect clang-tidy at all.


Repository:
  rC Clang

https://reviews.llvm.org/D62093

Files:
  include/clang/Driver/CC1Options.td
  include/clang/StaticAnalyzer/Checkers/CheckerBase.td
  include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  lib/Frontend/CompilerInvocation.cpp
  lib/FrontendTool/ExecuteCompilerInvocation.cpp
  lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  test/Analysis/show-checker-list.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62093.200125.patch
Type: text/x-patch
Size: 9435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190518/ac337229/attachment-0001.bin>


More information about the cfe-commits mailing list