Skip to content

Commit d192d7f

Browse files
committed
Addressed review comments
1 parent bd63cfc commit d192d7f

File tree

3 files changed

+2
-24
lines changed

3 files changed

+2
-24
lines changed

libcxx/include/__config

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,20 +1215,6 @@ typedef __char32_t char32_t;
12151215
# define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER 0
12161216
# endif
12171217

1218-
// TODO(LLVM 22): Remove this macro once LLVM19 support ends.
1219-
# if __has_builtin(__reference_constructs_from_temporary)
1220-
# define _LIBCPP_HAS_REFERENCE_CONSTRUCTS_FROM_TEMPORARY 1
1221-
# else
1222-
# define _LIBCPP_HAS_REFERENCE_CONSTRUCTS_FROM_TEMPORARY 0
1223-
# endif
1224-
1225-
// TODO(LLVM 22): Remove this macro once LLVM19 support ends.
1226-
# if __has_builtin(__reference_converts_from_temporary)
1227-
# define _LIBCPP_HAS_REFERENCE_CONVERTS_FROM_TEMPORARY 1
1228-
# else
1229-
# define _LIBCPP_HAS_REFERENCE_CONVERTS_FROM_TEMPORARY 0
1230-
# endif
1231-
12321218
#endif // __cplusplus
12331219

12341220
#endif // _LIBCPP___CONFIG

libcxx/include/__type_traits/reference_constructs_from_temporary.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
_LIBCPP_BEGIN_NAMESPACE_STD
2020

21-
#if _LIBCPP_HAS_REFERENCE_CONSTRUCTS_FROM_TEMPORARY
22-
23-
# if _LIBCPP_STD_VER >= 23
21+
#if _LIBCPP_STD_VER >= 23
2422

2523
template <class _Tp, class _Up>
2624
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS reference_constructs_from_temporary
@@ -30,8 +28,6 @@ template <class _Tp, class _Up>
3028
_LIBCPP_NO_SPECIALIZATIONS inline constexpr bool reference_constructs_from_temporary_v =
3129
__reference_constructs_from_temporary(_Tp, _Up);
3230

33-
# endif
34-
3531
#endif
3632

3733
_LIBCPP_END_NAMESPACE_STD

libcxx/include/__type_traits/reference_converts_from_temporary.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
_LIBCPP_BEGIN_NAMESPACE_STD
2020

21-
#if _LIBCPP_HAS_REFERENCE_CONVERTS_FROM_TEMPORARY
22-
23-
# if _LIBCPP_STD_VER >= 23
21+
#if _LIBCPP_STD_VER >= 23
2422

2523
template <class _Tp, class _Up>
2624
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS reference_converts_from_temporary
@@ -30,8 +28,6 @@ template <class _Tp, class _Up>
3028
_LIBCPP_NO_SPECIALIZATIONS inline constexpr bool reference_converts_from_temporary_v =
3129
__reference_converts_from_temporary(_Tp, _Up);
3230

33-
# endif
34-
3531
#endif
3632

3733
_LIBCPP_END_NAMESPACE_STD

0 commit comments

Comments
 (0)