Skip to content

<__msvc_int128.hpp>: Move UDLs to test code#3252

Merged
StephanTLavavej merged 4 commits intomicrosoft:mainfrom
frederick-vs-ja:move-i128-udl
Dec 6, 2022
Merged

<__msvc_int128.hpp>: Move UDLs to test code#3252
StephanTLavavej merged 4 commits intomicrosoft:mainfrom
frederick-vs-ja:move-i128-udl

Conversation

@frederick-vs-ja
Copy link
Contributor

@frederick-vs-ja frederick-vs-ja commented Dec 1, 2022

Fixes #3240.

It was my decision to add these UDLs to product code in order to provide a solution for DevCom-879048. But it turns out that this is non-goal, and thus it was my fault to do so.

Per discussions in #3240, these UDLs should be moved into the test code. I decided to make these identifiers non-_Ugly despite that it may be OK not to do so.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner December 1, 2022 15:44
Copy link
Contributor

@strega-nil-ms strega-nil-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for moving these over!

@frederick-vs-ja
Copy link
Contributor Author

I (again) misused if constexpr in C++14 mode and encountered a clang's bug (probably LLVM-51840).

@CaseyCarter CaseyCarter added the throughput Must compile faster label Dec 1, 2022
Copy link
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor nits for which I'll push changes.

@StephanTLavavej StephanTLavavej self-assigned this Dec 5, 2022
@StephanTLavavej
Copy link
Member

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

@StephanTLavavej StephanTLavavej merged commit 54ac725 into microsoft:main Dec 6, 2022
@StephanTLavavej
Copy link
Member

Thanks again for this throughput improvement! 😻 🚀 🎉

@frederick-vs-ja frederick-vs-ja deleted the move-i128-udl branch December 7, 2022 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

throughput Must compile faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<__msvc_int128.hpp>: UDLs aren't used by product code

4 participants