<type_traits>: Implement Layout-compatibility and Pointer-interconvertibility Traits#1575
Merged
StephanTLavavej merged 9 commits intomicrosoft:mainfrom Jan 31, 2021
Merged
Conversation
…rconvertibility Traits
Member
|
I've marked this PR as a draft and removed WIP from the title. Many of the test failures are caused by Clang not understanding the new compiler builtins. We should request them by filing an LLVM bug, and then guard the definitions accordingly. |
StephanTLavavej
requested changes
Jan 19, 2021
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
CaseyCarter
suggested changes
Jan 20, 2021
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
* Fix functions declarations * Add feature test macros tests * Update tests
MahmoudGSaleh
commented
Jan 22, 2021
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
Member
Author
|
Analyzing the x86 failures. |
cpplearner
reviewed
Jan 22, 2021
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
CaseyCarter
reviewed
Jan 22, 2021
CaseyCarter
suggested changes
Jan 22, 2021
CaseyCarter
approved these changes
Jan 23, 2021
StephanTLavavej
requested changes
Jan 23, 2021
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
- Updated LLVM bug # for adding intrinsics to clang - Added condition for using outdated vs renamed intrinsics - Added new tests per review feedback
CaseyCarter
suggested changes
Jan 27, 2021
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
CaseyCarter
approved these changes
Jan 27, 2021
Member
StephanTLavavej
left a comment
There was a problem hiding this comment.
This looks great! I'll verify and push a change to use static_cast for nullptr, then I'll mirror this to MSVC.
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Show resolved
Hide resolved
tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp
Outdated
Show resolved
Hide resolved
StephanTLavavej
approved these changes
Jan 29, 2021
CaseyCarter
approved these changes
Jan 29, 2021
Member
|
Thanks for implementing this feature with a comprehensive set of tests, and congratulations on your first microsoft/STL commit! 🎉 😸 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements P0466R5. It will close #18.
This is ready for review:
The following bugs are used to track related issues: