This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy][WIP] create API for extracting option types.
Needs ReviewPublic

Authored by njames93 on Sep 6 2022, 11:47 AM.

Details

Summary

Create an API as well as a command line option that dump all available check options as well as allowed values.
This infrastructure should drastically simplify 3rd party tools that would like to use clang-tidy but would prefer to handle options themselves, rather than letting users write their own .clang-tidy configuration files.

Diff Detail

Event Timeline

njames93 created this revision.Sep 6 2022, 11:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2022, 11:47 AM
njames93 requested review of this revision.Sep 6 2022, 11:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2022, 11:47 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
njames93 updated this revision to Diff 458285.Sep 6 2022, 2:47 PM

Fix failing test case

njames93 updated this revision to Diff 461950.Sep 21 2022, 10:53 AM

Add a test to demonstraight behaviour

LegalizeAdulthood resigned from this revision.Mar 29 2023, 8:20 AM