Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change _Always_false to false for functions #4591

Merged

Conversation

StephanTLavavej
Copy link
Member

@StephanTLavavej StephanTLavavej commented Apr 14, 2024

  • Update the TRANSITION comment for _Always_false.
  • Replace _Always_false usage in functions with false.
  • Replace always_false test helpers in functions.
  • Replace AlwaysFalse in VSO_0000000_more_pair_tuple_sfinae (thanks @frederick-vs-ja!).
  • Cleanup: Fuse static_asserts in _Move_only_function_call.
    • This was attempting to generate a dedicated diagnostic for CTAD, but it wasn't working. (It could be fixed for Clang, but it would look weird, and it still wouldn't work for MSVC.) Just mention both scenarios.
    • Found while investigating struct usage, so this is semi-related.

DevCom-10554332 VSO-1936351 was fixed by MSVC-PR-520085 on 2024-01-09, shipping in VS 2022 17.10 Preview 1.

Clang 17 started supporting this.

EDG isn't completely happy yet, see VSO-2016422.
This was attempting to generate a dedicated diagnostic for CTAD, but it wasn't working.
(It could be fixed for Clang, but it would look weird, and it still wouldn't work for MSVC.)
Just mention both scenarios.
@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Apr 14, 2024
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner April 14, 2024 22:43
@StephanTLavavej
Copy link
Member Author

/azp run STL-CI

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@frederick-vs-ja

This comment was marked as resolved.

…22 (EDG)`

... to ensure we don't miss them when removing workarounds.
@CaseyCarter CaseyCarter removed their assignment Apr 18, 2024
@StephanTLavavej StephanTLavavej self-assigned this Apr 18, 2024
@StephanTLavavej
Copy link
Member Author

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej
Copy link
Member Author

Azure Pipelines checks are green, but GitHub's UI isn't reflecting that. I'm going to need to resolve merge conflicts with #4588 so there's no point in forcing a rerun now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants