Home
last modified time | relevance | path

Searched refs:__is_scalar (Results 1 – 9 of 9) sorted by relevance

/external/clang/test/SemaObjCXX/
Darc-libstdcxx.mm6 int check0[std::__is_scalar<__strong id>::__value? -1 : 1];
7 int check1[std::__is_scalar<__weak id>::__value? -1 : 1];
8 int check2[std::__is_scalar<__autoreleasing id>::__value? -1 : 1];
9 int check3[std::__is_scalar<__strong A*>::__value? -1 : 1];
10 int check4[std::__is_scalar<__weak A*>::__value? -1 : 1];
11 int check5[std::__is_scalar<__autoreleasing A*>::__value? -1 : 1];
Darc-type-traits.mm113 // __is_scalar
114 TRAIT_IS_FALSE(__is_scalar, __strong id);
115 TRAIT_IS_FALSE(__is_scalar, __weak id);
116 TRAIT_IS_FALSE(__is_scalar, __autoreleasing id);
117 TRAIT_IS_TRUE(__is_scalar, __unsafe_unretained id);
/external/cronet/buildtools/third_party/libc++/trunk/include/__type_traits/
Dis_scalar.h26 #if __has_builtin(__is_scalar)
29 struct _LIBCPP_TEMPLATE_VIS is_scalar : _BoolConstant<__is_scalar(_Tp)> { };
33 inline constexpr bool is_scalar_v = __is_scalar(_Tp);
/external/clang/test/SemaCXX/
Dtype-traits.cpp699 int t01[T(__is_scalar(float))]; in is_scalar()
700 int t02[T(__is_scalar(double))]; in is_scalar()
701 int t03[T(__is_scalar(long double))]; in is_scalar()
702 int t04[T(__is_scalar(bool))]; in is_scalar()
703 int t05[T(__is_scalar(char))]; in is_scalar()
704 int t06[T(__is_scalar(signed char))]; in is_scalar()
705 int t07[T(__is_scalar(unsigned char))]; in is_scalar()
706 int t08[T(__is_scalar(wchar_t))]; in is_scalar()
707 int t09[T(__is_scalar(short))]; in is_scalar()
708 int t10[T(__is_scalar(unsigned short))]; in is_scalar()
[all …]
Dnullptr.cpp117 static_assert(__is_scalar(nullptr_t), "");
/external/clang/test/PCH/
Dcxx-traits.h56 struct __is_scalar {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp56 bool _is_scalar_result = __is_scalar(int);
/external/clang/include/clang/Basic/
DTokenKinds.def465 TYPE_TRAIT_1(__is_scalar, IsScalar, KEYCXX)
/external/clang/lib/Parse/
DParseExpr.cpp838 REVERTIBLE_TYPE_TRAIT(__is_scalar); in ParseCastExpression()