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

[libc][NFC] split type_traits / utility in separate files #65314

Merged
merged 4 commits into from
Sep 6, 2023

Conversation

gchatelet
Copy link
Contributor

type_traits and utility refer to each other in their implementations. Also type_traits starts to become too big to be manageable. This PR splits each function into individual files. FTR this is how libcxx handles large headers as well.

@gchatelet gchatelet requested a review from a team as a code owner September 5, 2023 11:34
@gchatelet gchatelet added the libc label Sep 5, 2023
@gchatelet gchatelet merged commit b793c7e into llvm:main Sep 6, 2023
1 check passed
@gchatelet gchatelet deleted the split_type_traits_and_utility branch September 6, 2023 08:32
gchatelet added a commit that referenced this pull request Sep 6, 2023
gchatelet added a commit that referenced this pull request Sep 6, 2023
…5314)

`type_traits` and `utility` refer to each other in their
implementations. Also `type_traits` starts to become too big to be
manageable. This PR splits each function into individual files. FTR this
is [how libcxx handles large headers as
well](https://github.com/llvm/llvm-project/tree/main/libcxx/include/__type_traits).

The reland adds two missing functions : is_destructible_v and is_reference_v
@cjdb
Copy link
Contributor

cjdb commented Sep 6, 2023

I was mistaken, please disregard (no action was taken).

avillega pushed a commit to avillega/llvm-project that referenced this pull request Sep 11, 2023
`type_traits` and `utility` refer to each other in their
implementations. Also `type_traits` starts to become too big to be
manageable. This PR splits each function into individual files. FTR this
is [how libcxx handles large headers as
well](https://github.com/llvm/llvm-project/tree/main/libcxx/include/__type_traits).
avillega pushed a commit to avillega/llvm-project that referenced this pull request Sep 11, 2023
avillega pushed a commit to avillega/llvm-project that referenced this pull request Sep 11, 2023
…vm#65314)

`type_traits` and `utility` refer to each other in their
implementations. Also `type_traits` starts to become too big to be
manageable. This PR splits each function into individual files. FTR this
is [how libcxx handles large headers as
well](https://github.com/llvm/llvm-project/tree/main/libcxx/include/__type_traits).

The reland adds two missing functions : is_destructible_v and is_reference_v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants