This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

Instead of passing the whole TargetOptions and PreprocessorOptions to ParseLangArgs 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:37 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald Transcript
jansvoboda11 edited the summary of this revision. (Show Details)Jan 14 2021, 5:02 AM
This revision is now accepted and ready to land.Jan 14 2021, 8:39 AM