Home
last modified time | relevance | path

Searched refs:is_function (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
H A Dis_function.pass.cpp25 static_assert( std::is_function<T>::value, "");
26 static_assert( std::is_function<const T>::value, "");
27 static_assert( std::is_function<volatile T>::value, "");
28 static_assert( std::is_function<const volatile T>::value, "");
39 static_assert(!std::is_function<T>::value, "");
40 static_assert(!std::is_function<const T>::value, "");
41 static_assert(!std::is_function<volatile T>::value, "");
42 static_assert(!std::is_function<const volatile T>::value, "");
H A Dfunction.pass.cpp43 static_assert( std::is_function<T>::value, ""); in test()
89 static_assert(!std::is_function<incomplete_type>::value, ""); in main()
H A Drvalue_ref.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_rvalue_ref()
H A Dlvalue_ref.pass.cpp35 static_assert(!std::is_function<T>::value, ""); in test_lvalue_ref()
H A Dunion.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_union_imp()
H A Denum.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_enum_imp()
H A Dfloating_point.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_floating_point_imp()
H A Dvoid.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_void_imp()
H A Dmember_object_pointer.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_member_object_pointer_imp()
H A Dclass.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_class_imp()
H A Dpointer.pass.cpp35 static_assert(!std::is_function<T>::value, ""); in test_pointer_imp()
H A Dnullptr.pass.cpp37 static_assert(!std::is_function<T>::value, ""); in test_nullptr_imp()
H A Darray.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_array_imp()
H A Dintegral.pass.cpp34 static_assert(!std::is_function<T>::value, ""); in test_integral_imp()
H A Dmember_function_pointer.pass.cpp37 static_assert(!std::is_function<T>::value, "");
/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_function.h1 //===-- is_function type_traits ---------------------------------*- C++ -*-===//
20 // is_function
23 struct is_function : integral_constant<bool, __is_function(T)> {};
26 struct is_function
30 LIBC_INLINE_VAR constexpr bool is_function_v = is_function<T>::value;
21 struct is_function : integral_constant<bool, __is_function(T)> {}; global() struct
H A Dis_destructible.h13 #include "src/__support/CPP/type_traits/is_function.h"
57 struct is_destructible : public __destructible_false<T, is_function<T>::value> {
/llvm-project/libcxx/include/__type_traits/
H A Dis_function.h22 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS is_function : integral_constant<bool, __is_function(_Tp)> {};
26 struct _LIBCPP_TEMPLATE_VIS is_function : integral_constant<bool, __is_function(_Tp)> {}; global() struct
H A Dis_member_function_pointer.h
H A Ddecay.h16 #include <__type_traits/is_function.h>
49 __conditional_t<is_function<_Up>::value, typename add_pointer<_Up>::type, __remove_cv_t<_Up> > >;
H A Dis_destructible.h14 #include <__type_traits/is_function.h>
80 struct is_destructible : public __destructible_false<_Tp, is_function<_Tp>::value> {};
/llvm-project/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dfunction_type_default_deleter.verify.cpp35 static_assert(std::is_function<RawT>::value || in operator ()()
/llvm-project/clang/test/AST/
H A Dast-dump-template-json-win32-mangler-crash.cpp48 struct is_function : bool_constant<is_function_v<_Ty>> {}; struct
/llvm-project/libcxx/include/__atomic/
H A Datomic.h22 #include <__type_traits/is_function.h>
279 static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
285 static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
291 static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
297 static_assert(!is_function<__remove_pointer_t<_Tp> >::value, "Pointer to function isn't allowed");
/llvm-project/libc/src/__support/CPP/
H A DCMakeLists.txt139 type_traits/is_function.h

12