As discussed in https://lists.llvm.org/pipermail/cfe-dev/2021-January/067524.html
It doesn't appear to be used, isn't really maintained, and adds some complexity to the code. Let's remove it.
Paths
| Differential D95876
[clang-cl] Remove the /fallback option ClosedPublic Authored by hans on Feb 2 2021, 8:44 AM.
Details
Summary As discussed in https://lists.llvm.org/pipermail/cfe-dev/2021-January/067524.html It doesn't appear to be used, isn't really maintained, and adds some complexity to the code. Let's remove it.
Diff Detail
Event TimelineComment Actions Probably get a short release notes entry too.
hans marked an inline comment as done. Comment ActionsPlease take another look.
This revision is now accepted and ready to land.Feb 3 2021, 10:24 AM Closed by commit rG6625680a581c: [clang-cl] Remove the /fallback option (authored by hans). · Explain WhyFeb 4 2021, 1:38 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 321347 clang/docs/ReleaseNotes.rst
clang/docs/UsersManual.rst
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticOptions.def
clang/include/clang/Driver/Job.h
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/TextDiagnostic.h
clang/lib/Driver/Job.cpp
clang/lib/Driver/ToolChains/Clang.h
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/MSVC.h
clang/lib/Driver/ToolChains/MSVC.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/TextDiagnostic.cpp
clang/lib/Frontend/TextDiagnosticPrinter.cpp
clang/test/Driver/cl-fallback.c
clang/test/Driver/cl-options.c
clang/test/Driver/cl-pch.cpp
clang/test/Misc/diag-format.c
|
Doesn't this whole function exist only for /fallback? In what other cases do we need to invoke cl.exe?