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.
Paths
| Differential D94680
[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 Timelinejansvoboda11 created this revision. 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 Closed by commit rGa7dcd3aeb0fb: [clang][cli] NFC: Parse some LangOpts after the defaults are set (authored by jansvoboda11). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 316951 clang/lib/Frontend/CompilerInvocation.cpp
|