This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Add option to use alpha checkers from clang-analyzer when using `run-clang-tidy.py`
ClosedPublic

Authored by Abpostelnicu on Apr 10 2020, 9:36 AM.

Details

Summary

Add option to use alpha checkers from clang-analyzer when using run-clang-tidy.py.
In D46159 has been added the possibility to use alpha checkers from clang-analyzer but this option hasn't reach run-clang-tidy.py, the purpose of this patch is to have this option.

Diff Detail

Event Timeline

Abpostelnicu created this revision.Apr 10 2020, 9:36 AM
Abpostelnicu edited the summary of this revision. (Show Details)Apr 10 2020, 9:38 AM
Abpostelnicu edited the summary of this revision. (Show Details)Apr 10 2020, 9:41 AM
Abpostelnicu edited projects, added Restricted Project; removed Restricted Project.Apr 10 2020, 11:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 10 2020, 11:03 AM

please add this to the release notes too :)
something like "new option -allow-enabling-alpha-checkers added to run-clang-tidy to enable alpha checkers"

Abpostelnicu updated this revision to Diff 256825.EditedApr 11 2020, 10:43 PM

Add release notes.

please add this to the release notes too :)
something like "new option -allow-enabling-alpha-checkers added to run-clang-tidy to enable alpha checkers"

Is it ok just to add this to the clang-tools-extra/docs/ReleaseNotes.rst release notes?

sylvestre.ledru accepted this revision.Apr 23 2020, 1:33 AM
This revision is now accepted and ready to land.Apr 23 2020, 1:33 AM
This revision was automatically updated to reflect the committed changes.
hans added a subscriber: hans.Sep 15 2020, 8:05 AM

This seems to have caused https://bugs.llvm.org/show_bug.cgi?id=47512

Can you take a look?

hans added a comment.Sep 15 2020, 10:08 AM

Great, that was the missing piece :) Thanks!