This is an archive of the discontinued LLVM Phabricator instance.

[clang][cli] NFC: Parse some LangOpts after the defaults are set
ClosedPublic

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

Details

Summary

This patch ensures we only parse the necessary options before calling setLangDefaults (explained in D94678).

Because neither LangOpts.CFProtectionBranch nor LangOpts.SYCLIsDevice are used in setLangDefaults, this is a NFC.

Diff Detail

Event Timeline

jansvoboda11 requested review of this revision.Jan 14 2021, 4:55 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2021, 4:55 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 edited the summary of this revision. (Show Details)Jan 14 2021, 5:49 AM
This revision is now accepted and ready to land.Jan 14 2021, 9:03 AM
This revision was landed with ongoing or failed builds.Jan 15 2021, 7:42 AM
This revision was automatically updated to reflect the committed changes.