[all-commits] [llvm/llvm-project] 690ff3: [analyzer] Force dependency checkers to be hidden

Kristóf Umann via All-commits all-commits at lists.llvm.org
Mon Jul 6 04:07:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 690ff37a286991f142584f25842e50c6cb23aba6
      https://github.com/llvm/llvm-project/commit/690ff37a286991f142584f25842e50c6cb23aba6
  Author: Kirstóf Umann <dkszelethus at gmail.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
    M clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp

  Log Message:
  -----------
  [analyzer] Force dependency checkers to be hidden

Since strong dependencies aren't user-facing (its hardly ever legal to disable
them), lets enforce that they are hidden. Modeling checkers that aren't
dependencies are of course not impacted, but there is only so much you can do
against developers shooting themselves in the foot :^)

I also made some changes to the test files, reversing the "test" package for,
well, testing.

Differential Revision: https://reviews.llvm.org/D81761




More information about the All-commits mailing list