[PATCH] D146396: [clang-tidy] Use checks dependences for Analyzer checks

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 19 15:18:46 PDT 2023


PiotrZSL created this revision.
Herald added subscribers: carlosgalvezp, manas, ASDenysPetrov, dkrupp, donat.nagy, Szelethus, a.sidorin, baloghadamsoftware, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
PiotrZSL requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Before this change all checks from 'core' group were
enabled when any analyzer check were enabled.
Now only checks dependences are enabled.
Unfortunately even if this gives more flexibility to
user, Clang Static Analyzer got some hidden checks
that are somehow enabled by default there, but not in
Clang-Tidy.

Issues:
 https://github.com/llvm/llvm-project/issues/61520
 https://github.com/llvm/llvm-project/issues/59588
 https://github.com/llvm/llvm-project/issues/59589


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146396

Files:
  clang-tools-extra/clang-tidy/ClangTidy.cpp
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/test/clang-tidy/infrastructure/enable-analyzer-checks.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146396.506438.patch
Type: text/x-patch
Size: 5009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230319/77eb28fc/attachment.bin>


More information about the cfe-commits mailing list