Reason: the option has an effect on preprocessing.
Also see thread: http://lists.llvm.org/pipermail/cfe-dev/2020-March/065014.html
Paths
| Differential D77131
[clang] Move branch-protection from CodeGenOptions to LangOptions ClosedPublic Authored by tamas.petz on Mar 31 2020, 3:59 AM.
Details Summary Reason: the option has an effect on preprocessing. Also see thread: http://lists.llvm.org/pipermail/cfe-dev/2020-March/065014.html
Diff Detail Event TimelineComment Actions just a nit, LGTM otherwise.
tamas.petz added inline comments.
Comment Actions Tests pass, however, I am not sure ParseLangArgs is called in all the necessary cases (see the occurrences in the code). Comment Actions Following @efriedma comment here http://lists.llvm.org/pipermail/cfe-dev/2020-March/065017.html LGTM.
This revision is now accepted and ready to land.Apr 1 2020, 1:47 PM Closed by commit rG7314aea5a42d: [clang] Move branch-protection from CodeGenOptions to LangOptions (authored by danielkiss). · Explain WhyApr 2 2020, 1:36 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 254174 clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Basic/LangOptions.h
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Basic/TargetInfo.h
clang/lib/AST/PrintfFormatString.cpp
clang/lib/Basic/Targets/AArch64.cpp
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Frontend/CompilerInvocation.cpp
|
is this change necessary?