Home
last modified time | relevance | path

Searched refs:is_array (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Dis_array.pass.cpp20 static_assert( std::is_array<T>::value, ""); in test_is_array()
21 static_assert( std::is_array<const T>::value, ""); in test_is_array()
22 static_assert( std::is_array<volatile T>::value, ""); in test_is_array()
23 static_assert( std::is_array<const volatile T>::value, ""); in test_is_array()
35 static_assert(!std::is_array<T>::value, ""); in test_is_not_array()
36 static_assert(!std::is_array<const T>::value, ""); in test_is_not_array()
37 static_assert(!std::is_array<volatile T>::value, ""); in test_is_not_array()
38 static_assert(!std::is_array<const volatile T>::value, ""); in test_is_not_array()
H A Darray.pass.cpp25 static_assert( std::is_array<T>::value, ""); in test_array_imp()
59 static_assert(!std::is_array<Incomplete>::value, ""); in main()
H A Dlvalue_ref.pass.cpp26 static_assert(!std::is_array<T>::value, ""); in test_lvalue_ref()
H A Drvalue_ref.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_rvalue_ref()
H A Denum.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_enum_imp()
H A Dfloating_point.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_floating_point_imp()
H A Dclass.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_class_imp()
H A Dpointer.pass.cpp26 static_assert(!std::is_array<T>::value, ""); in test_pointer_imp()
H A Dmember_object_pointer.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_member_object_pointer_imp()
H A Dunion.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_union_imp()
H A Dvoid.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_void_imp()
H A Dnullptr.pass.cpp28 static_assert(!std::is_array<T>::value, ""); in test_nullptr_imp()
H A Dintegral.pass.cpp25 static_assert(!std::is_array<T>::value, ""); in test_integral_imp()
H A Dfunction.pass.cpp34 static_assert(!std::is_array<T>::value, ""); in test()
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_array.h27 struct _LIBCPP_TEMPLATE_VIS is_array : _BoolConstant<__is_array(_Tp)> { }; struct
36 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_array
38 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_array<_Tp[]>
40 template <class _Tp, size_t _Np> struct _LIBCPP_TEMPLATE_VIS is_array<_Tp[_Np]>
45 inline constexpr bool is_array_v = is_array<_Tp>::value;
H A Dis_object.h39 is_array<_Tp>::value ||
H A Ddecay.h39 is_array<_Up>::value,
H A Dis_convertible.h46 template <class _Tp, bool _IsArray = is_array<_Tp>::value,
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dconstruct_at.h59 template <class _Tp, typename enable_if<!is_array<_Tp>::value, int>::type = 0>
67 template <class _Tp, typename enable_if<is_array<_Tp>::value, int>::type = 0>
/llvm-project-15.0.7/libcxx/test/support/
H A Dunique_ptr_test_helper.h37 typename std::enable_if<!std::is_array<T>::value, T*>::type
44 typename std::enable_if<std::is_array<T>::value,
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/
H A Dchar.bad.verify.cpp33 static_assert(std::is_array<C>::value, ""); in f()
/llvm-project-15.0.7/libcxx/test/std/strings/string.view/
H A Dchar.bad.fail.cpp36 static_assert(std::is_array<C>::value, ""); in main()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_safe_c_api.h37 template <typename T, bool B = std::is_array<T>::value>
/llvm-project-15.0.7/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h335 template <typename T> struct is_array {
349 using has_array = is_array<typename last_type<int, Types...>::type>;
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DJSONUtils.cpp1058 const bool is_array = type_obj.IsArrayType(); in CreateVariable() local
1060 if (is_array || is_synthetic) { in CreateVariable()
1062 if (is_array) { in CreateVariable()

12