This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

hans created this revision.Feb 2 2021, 8:44 AM
hans requested review of this revision.Feb 2 2021, 8:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2021, 8:44 AM
thakis added a comment.Feb 2 2021, 1:01 PM

Probably get a short release notes entry too.

clang/lib/Driver/ToolChains/MSVC.cpp
669

Doesn't this whole function exist only for /fallback? In what other cases do we need to invoke cl.exe?

hans updated this revision to Diff 321080.Feb 3 2021, 6:06 AM
hans marked an inline comment as done.

Please take another look.

clang/lib/Driver/ToolChains/MSVC.cpp
669

D'oh, not sure how I missed this.

thakis accepted this revision.Feb 3 2021, 10:24 AM
This revision is now accepted and ready to land.Feb 3 2021, 10:24 AM
This revision was automatically updated to reflect the committed changes.
clang/lib/Frontend/TextDiagnosticPrinter.cpp