This is an archive of the discontinued LLVM Phabricator instance.

[clang][cli] Look up program action argument in a table
ClosedPublic

Authored by jansvoboda11 on Feb 8 2021, 8:08 AM.

Details

Summary

This patch extracts the mapping between command line option and frontend::ActionKind into a table. The table can be reused when parsing and also generating command line options.

Diff Detail

Event Timeline

jansvoboda11 requested review of this revision.Feb 8 2021, 8:08 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2021, 8:08 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Feb 8 2021, 11:36 AM
This revision was landed with ongoing or failed builds.Feb 9 2021, 6:29 AM
This revision was automatically updated to reflect the committed changes.