Home
last modified time | relevance | path

Searched refs:is_lvalue_reference (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Dis_lvalue_reference.pass.cpp20 static_assert( std::is_lvalue_reference<T>::value, ""); in test_is_lvalue_reference()
21 static_assert( std::is_lvalue_reference<const T>::value, ""); in test_is_lvalue_reference()
22 static_assert( std::is_lvalue_reference<volatile T>::value, ""); in test_is_lvalue_reference()
23 static_assert( std::is_lvalue_reference<const volatile T>::value, ""); in test_is_lvalue_reference()
35 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_is_not_lvalue_reference()
36 static_assert(!std::is_lvalue_reference<const T>::value, ""); in test_is_not_lvalue_reference()
37 static_assert(!std::is_lvalue_reference<volatile T>::value, ""); in test_is_not_lvalue_reference()
38 static_assert(!std::is_lvalue_reference<const volatile T>::value, ""); in test_is_not_lvalue_reference()
H A Dlvalue_ref.pass.cpp28 static_assert( std::is_lvalue_reference<T>::value, ""); in test_lvalue_ref()
46 static_assert(!std::is_lvalue_reference<incomplete_type>::value, ""); in main()
H A Drvalue_ref.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_rvalue_ref()
H A Denum.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_enum_imp()
H A Dfloating_point.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_floating_point_imp()
H A Dclass.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_class_imp()
H A Dpointer.pass.cpp28 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_pointer_imp()
H A Dmember_object_pointer.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_member_object_pointer_imp()
H A Dunion.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_union_imp()
H A Dvoid.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_void_imp()
H A Dnullptr.pass.cpp30 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_nullptr_imp()
H A Darray.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_array_imp()
H A Dintegral.pass.cpp27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_integral_imp()
H A Dfunction.pass.cpp36 static_assert(!std::is_lvalue_reference<T>::value, ""); in test()
H A Dmember_function_pointer.pass.cpp30 static_assert(!std::is_lvalue_reference<T>::value, "");
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_reference.h26 struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<__is_lvalue_reference(_Tp)> { }; struct
45 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : public false_type {};
46 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference<_Tp&> : public true_type {};
60 inline constexpr bool is_lvalue_reference_v = is_lvalue_reference<_Tp>::value;
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dbuiltin-std-move.cpp33 template<typename T> struct is_lvalue_reference { static constexpr bool value = false; }; struct
34 template<typename T> struct is_lvalue_reference<T&> { static constexpr bool value = true; }; argument
42 …static_assert(!is_lvalue_reference<T>::value, "should not forward rval as lval"); // expected-erro… in forward()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp_class_spec.cpp22 struct is_lvalue_reference { struct
27 struct is_lvalue_reference<T&> { argument
31 int lvalue_ref0[is_lvalue_reference<int>::value? -1 : 1]; argument
32 int lvalue_ref1[is_lvalue_reference<const int&>::value? 1 : -1];
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dforward.h32 static_assert(!is_lvalue_reference<_Tp>::value, "cannot forward an rvalue as an lvalue"); in forward()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DPartialDiagnostic.h68 !std::is_lvalue_reference<T>::value>::type>
/llvm-project-15.0.7/libcxx/test/support/
H A Dpropagate_value_category.hpp55 return std::is_lvalue_reference<Tp>::value in getReferenceQuals()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
H A Dany_cast_reference.pass.cpp89 std::is_lvalue_reference<Type>::value, in checkThrows()
/llvm-project-15.0.7/libcxx/include/
H A Doptional425 (is_lvalue_reference<_Up>::value && is_convertible<_UpPtr, _TpPtr>::value)
429 return (is_lvalue_reference<_Tp>::value && _CheckLValueArg::value)
430 || (is_rvalue_reference<_Tp>::value && !is_lvalue_reference<_Up>::value &&
H A Dtype_traits40 template <class T> struct is_lvalue_reference;
257 = is_lvalue_reference<T>::value; // C++17
/llvm-project-15.0.7/clang/www/
H A Dlibstdc++4.4-clang0x.patch41 + static_assert(!std::is_lvalue_reference<_Tp>::value,

12