Home
last modified time | relevance | path

Searched refs:is_reference (Results 1 – 25 of 53) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
H A Dis_reference.pass.cpp20 static_assert( std::is_reference<T>::value, ""); in test_is_reference()
21 static_assert( std::is_reference<const T>::value, ""); in test_is_reference()
22 static_assert( std::is_reference<volatile T>::value, ""); in test_is_reference()
23 static_assert( std::is_reference<const volatile T>::value, ""); in test_is_reference()
35 static_assert(!std::is_reference<T>::value, ""); in test_is_not_reference()
36 static_assert(!std::is_reference<const T>::value, ""); in test_is_not_reference()
37 static_assert(!std::is_reference<volatile T>::value, ""); in test_is_not_reference()
38 static_assert(!std::is_reference<const volatile T>::value, ""); in test_is_not_reference()
H A Dlvalue_ref.pass.cpp20 static_assert( std::is_reference<T>::value, ""); in test_lvalue_ref()
H A Drvalue_ref.pass.cpp20 static_assert( std::is_reference<T>::value, ""); in test_rvalue_ref()
H A Dvoid.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_void_imp()
H A Dmember_object_pointer.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_member_object_pointer_imp()
H A Dfloating_point.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_floating_point_imp()
H A Dpointer.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_pointer_imp()
H A Dunion.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_union_imp()
H A Denum.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_enum_imp()
H A Dfunction.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_function_imp()
H A Dmember_function_pointer.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_member_function_pointer_imp()
H A Dclass.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_class_imp()
H A Darray.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_array_imp()
H A Dintegral.pass.cpp20 static_assert(!std::is_reference<T>::value, ""); in test_integral_imp()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_reference.h32 struct _LIBCPP_TEMPLATE_VIS is_reference : _BoolConstant<__is_reference(_Tp)> { }; struct
51 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_reference : public false_type {};
52 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_reference<_Tp&> : public true_type {};
53 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_reference<_Tp&&> : public true_type {};
57 inline constexpr bool is_reference_v = is_reference<_Tp>::value;
H A Dis_nothrow_constructible.h55 …: __libcpp_is_nothrow_constructible<is_constructible<_Tp, _Args...>::value, is_reference<_Tp>::val…
61 : __libcpp_is_nothrow_constructible<is_constructible<_Tp>::value, is_reference<_Tp>::value, _Tp>
H A Dis_function.h32 : public integral_constant<bool, !(is_reference<_Tp>::value || is_const<const _Tp>::value)> {};
H A Dis_trivially_destructible.h35 is_reference<_Tp>::value> {};
H A Dis_nothrow_destructible.h72 is_reference<_Tp>::value> {};
H A Dis_destructible.h76 struct __destructible_false<_Tp, false> : public __destructible_imp<_Tp, is_reference<_Tp>::value> …
/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dmodules-pruning.cpp41 template <class T> struct is_reference : false_type {}; struct
42 template <class T> struct is_reference<T&> : true_type {}; struct
47 static const bool isRef = is_reference<T>::value;
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dunique_ptr.h82 static_assert(!is_reference<_Deleter>::value, "incorrect specialization");
155 (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
156 (!is_reference<_Dp>::value && is_convertible<_UDel, _Dp>::value)
191 static_assert(!is_reference<deleter_type>::value,
377 (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
378 (!is_reference<_Dp>::value && is_convertible<_UDel, _Dp>::value)
423 static_assert(!is_reference<deleter_type>::value,
432 static_assert(!is_reference<deleter_type>::value,
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Diterator_operations.h112 is_reference<__deref_t<_Iter> >::value,
126 !is_reference<__deref_t<_Iter> >::value,
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-more-actions.h111 GTEST_COMPILE_ASSERT_(std::is_reference<argk_type>::value, in ACTION_TEMPLATE()
/llvm-project-15.0.7/clang/bindings/python/tests/cindex/
H A Dtest_cursor_kind.py31 self.assertTrue(CursorKind.TYPE_REF.is_reference())

123