Page MenuHomePhabricator

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

Authored by jansvoboda11 on Thu, Jan 14, 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.Thu, Jan 14, 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)Thu, Jan 14, 5:02 AM
This revision is now accepted and ready to land.Thu, Jan 14, 8:39 AM