This is an archive of the discontinued LLVM Phabricator instance.

[clang][cli] NFC: Decrease the scope of ParseCodeGenArgs parameters
ClosedPublic

Authored by jansvoboda11 on Jan 14 2021, 4:39 AM.

Details

Summary

Instead of passing the whole TargetOptions and FrontendOptions to ParseCodeGenArgs give it only the necessary members.
This makes tracking the dependencies between various parsers and option groups easier.

Diff Detail

Event Timeline

jansvoboda11 requested review of this revision.Jan 14 2021, 4:39 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2021, 4:39 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 edited the summary of this revision. (Show Details)Jan 14 2021, 5:04 AM
This revision is now accepted and ready to land.Jan 14 2021, 8:41 AM