Home
last modified time | relevance | path

Searched refs:__is_pod (Results 1 – 17 of 17) sorted by relevance

/external/clang/test/SemaCXX/
Dlibstdcxx_is_pod_hack.cpp10 struct __is_pod { // expected-warning {{keyword '__is_pod' will be made available as an identifier}} struct
11 __is_pod() {} in __is_pod() argument
14 __is_pod<int> ipi;
36 bool b = __is_pod(int); in foo()
37 must_be_true<__is_pod(int)> mbt; in foo()
47 # error __is_pod should still be available.
Dtype-traits.cpp168 { int arr[T(__is_pod(int))]; } in is_pod()
169 { int arr[T(__is_pod(Enum))]; } in is_pod()
170 { int arr[T(__is_pod(POD))]; } in is_pod()
171 { int arr[T(__is_pod(Int))]; } in is_pod()
172 { int arr[T(__is_pod(IntAr))]; } in is_pod()
173 { int arr[T(__is_pod(Statics))]; } in is_pod()
174 { int arr[T(__is_pod(Empty))]; } in is_pod()
175 { int arr[T(__is_pod(EmptyUnion))]; } in is_pod()
176 { int arr[T(__is_pod(Union))]; } in is_pod()
177 { int arr[T(__is_pod(HasFunc))]; } in is_pod()
[all …]
Dtype-traits-incomplete.cpp6 __is_pod(S); // expected-error{{incomplete type 'S' used in type trait expression}} in f()
7 __is_pod(S[]); // expected-error{{incomplete type 'S' used in type trait expression}} in f()
Dnullptr.cpp118 static_assert(__is_pod(nullptr_t), "");
/external/clang/test/ARCMT/
Dcxx-checking.mm73 int check_non_pod_objc_pointer0[__is_pod(id)? 1 : -1]; function
74 int check_non_pod_objc_pointer1[__is_pod(__strong id)? -1 : 1]; function
75 int check_non_pod_objc_pointer2[__is_pod(__unsafe_unretained id)? 1 : -1]; function
76 int check_non_pod_objc_pointer3[__is_pod(id[2][3])? 1 : -1]; function
77 int check_non_pod_objc_pointer4[__is_pod(__unsafe_unretained id[2][3])? 1 : -1]; function
78 int check_non_pod_block0[__is_pod(int (^)(int))? 1 : -1]; function
79 int check_non_pod_block1[__is_pod(int (^ __unsafe_unretained)(int))? 1 : -1]; function
/external/clang/test/SemaObjCXX/
Darc-type-traits.mm95 // __is_pod
96 TRAIT_IS_FALSE(__is_pod, __strong id);
97 TRAIT_IS_FALSE(__is_pod, __weak id);
98 TRAIT_IS_FALSE(__is_pod, __autoreleasing id);
99 TRAIT_IS_TRUE(__is_pod, __unsafe_unretained id);
100 TRAIT_IS_FALSE(__is_pod, HasStrong);
101 TRAIT_IS_FALSE(__is_pod, HasWeak);
102 TRAIT_IS_TRUE(__is_pod, HasUnsafeUnretained);
/external/clang/test/PCH/
Dcxx-traits.cpp11 bool _Is_pod_comparator = n::__is_pod<int>::__value;
48 bool _is_pod_result = __is_pod(int);
Dcxx-traits.h6 struct __is_pod { // expected-warning {{keyword '__is_pod' will be made available as an identifier … struct
/external/clang/test/CodeGenCXX/
Dtype-traits.cpp4 bool a() { return __is_pod(int); } in a()
/external/clang/test/CXX/drs/
Ddr3xx.cpp987 int check[(__is_pod(A) || __is_pod(B) || __is_pod(C) || __is_pod(D)) ? -1 : 1];
Ddr1xx.cpp562 int check1[__is_pod(int(A::*)) ? 1 : -1];
563 int check2[__is_pod(A) ? 1 : -1];
/external/clang/test/SemaTemplate/
Dinstantiate-expr-4.cpp203 static const bool value = __is_pod(T);
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp314 __is_pod(Types); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
/external/clang/include/clang/Basic/
DTokenKinds.def430 TYPE_TRAIT_1(__is_pod, IsPOD, KEYCXX)
/external/clang/lib/Parse/
DParseExpr.cpp817 REVERTIBLE_TYPE_TRAIT(__is_pod); in ParseCastExpression()
/external/clang/docs/
DLanguageExtensions.rst1002 * ``__is_pod`` (GNU, Microsoft)
/external/libcxx/include/
Dtype_traits3258 : public integral_constant<bool, __is_pod(_Tp)> {};