This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Remove MSVC code
ClosedPublic

Authored by philnik on Aug 30 2022, 7:44 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG55158efe1045: [libc++] Remove MSVC code
Summary

It's been one and a half months now and nobody said anything, so I guess this code can be removed.

Diff Detail

Event Timeline

philnik created this revision.Aug 30 2022, 7:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 7:44 AM
philnik requested review of this revision.Aug 30 2022, 7:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 7:44 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Has this diagnostic ever been in a released version of libc++?
IMO having nobody noticing it for only 6 weeks seems too short to me.

Has this diagnostic ever been in a released version of libc++?
IMO having nobody noticing it for only 6 weeks seems too short to me.

Yes, it's in LLVM 15. Though I would expect anybody who has a working configuration to track ToT fairly closely, since I think it would be quite an effort to update such a configuration only every release. How long do you think we should wait before removing the code?

Has this diagnostic ever been in a released version of libc++?
IMO having nobody noticing it for only 6 weeks seems too short to me.

Yes, it's in LLVM 15. Though I would expect anybody who has a working configuration to track ToT fairly closely, since I think it would be quite an effort to update such a configuration only every release. How long do you think we should wait before removing the code?

LLVM 15 hasn't been released yet. I think doing it a few months after the release would be better. Or is there an urgent reason for the removal?

philnik planned changes to this revision.Sep 1 2022, 3:34 AM

Has this diagnostic ever been in a released version of libc++?
IMO having nobody noticing it for only 6 weeks seems too short to me.

Yes, it's in LLVM 15. Though I would expect anybody who has a working configuration to track ToT fairly closely, since I think it would be quite an effort to update such a configuration only every release. How long do you think we should wait before removing the code?

LLVM 15 hasn't been released yet. I think doing it a few months after the release would be better. Or is there an urgent reason for the removal?

Right, the release stuff takes a few months. I'll wait a bit longer.

ldionne accepted this revision.Sep 9 2022, 6:36 AM

Just to be clear -- I'm in favour of this, however I want to make sure that anyone reading this doesn't get the wrong impression. We *are* interested in supporting MSVC (although there is no current effort to do that AFAICT). This removal is not a statement of "not wanting to support MSVC", it's simply removing code that is dead, has been dead for we don't know how long, and likely doesn't work.

If we ever make an effort to port to MSVC (which I think would be interesting and maybe not even that difficult since we already support Windows), we should do it properly with CI to make sure it doesn't rot. Let's wait another week and ship this. If anything, we can always revert.

This revision was not accepted when it landed; it landed in state Changes Planned.Sep 20 2022, 1:11 AM
This revision was automatically updated to reflect the committed changes.
libcxx/include/__config