Skip to content

[libc] continues header cleanup process #65556

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

Merged
merged 3 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libc/src/__support/CPP/type_traits/is_rvalue_reference.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ template <typename T> struct is_rvalue_reference : public false_type {};
template <typename T> struct is_rvalue_reference<T &&> : public true_type {};
#endif
template <class T>
using add_rvalue_reference_t = typename add_rvalue_reference<T>::type;
LIBC_INLINE_VAR constexpr bool is_rvalue_reference_v =
is_rvalue_reference<T>::value;

} // namespace __llvm_libc::cpp

Expand Down
1 change: 1 addition & 0 deletions libc/src/__support/CPP/type_traits/remove_extent.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#define LLVM_LIBC_SRC_SUPPORT_CPP_TYPE_TRAITS_REMOVE_EXTENT_H

#include "src/__support/CPP/type_traits/type_identity.h"
#include "stddef.h" // size_t

namespace __llvm_libc::cpp {

Expand Down