This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Use checks dependences for Analyzer checks
AbandonedPublic

Authored by PiotrZSL on Mar 19 2023, 3:18 PM.

Details

Reviewers
njames93
Summary

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

Diff Detail

Event Timeline

PiotrZSL created this revision.Mar 19 2023, 3:18 PM
PiotrZSL requested review of this revision.Mar 19 2023, 3:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2023, 3:18 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

I have feeling that hidden checks that none other check depend on should be enabled by default.
Also I have feeling that those hidden checks shouldn't be visible to end user.
But need to confirm this first with Static Analyser developers.

PiotrZSL planned changes to this revision.Mar 23 2023, 2:59 PM

Verify with Static Analyser developers.

PiotrZSL abandoned this revision.Apr 15 2023, 8:50 AM