Home
last modified time | relevance | path

Searched refs:__is_trivial (Results 1 – 12 of 12) sorted by relevance

/external/clang/test/CXX/class/
Dp6-0x.cpp11 static_assert(__is_trivial(Trivial), "Trivial is not trivial");
12 static_assert(!__is_trivial(NonTrivial1), "NonTrivial1 is trivial");
13 static_assert(!__is_trivial(NonTrivial2), "NonTrivial2 is trivial");
14 static_assert(!__is_trivial(NonTrivial3), "NonTrivial3 is trivial");
15 static_assert(!__is_trivial(NonTrivial4), "NonTrivial4 is trivial");
16 static_assert(!__is_trivial(NonTrivial5), "NonTrivial5 is trivial");
31 static_assert(!__is_trivial(NonTrivial6), "NonTrivial6 is trivial");
/external/clang/test/SemaCXX/
Dtype-traits.cpp1054 int t01[T(__is_trivial(char))]; in is_trivial2()
1055 int t02[T(__is_trivial(int))]; in is_trivial2()
1056 int t03[T(__is_trivial(long))]; in is_trivial2()
1057 int t04[T(__is_trivial(short))]; in is_trivial2()
1058 int t05[T(__is_trivial(signed char))]; in is_trivial2()
1059 int t06[T(__is_trivial(wchar_t))]; in is_trivial2()
1060 int t07[T(__is_trivial(bool))]; in is_trivial2()
1061 int t08[T(__is_trivial(float))]; in is_trivial2()
1062 int t09[T(__is_trivial(double))]; in is_trivial2()
1063 int t10[T(__is_trivial(long double))]; in is_trivial2()
[all …]
Dcxx0x-defaulted-functions.cpp31 static_assert(__is_trivial(foo), "foo should be trivial");
/external/clang/test/SemaObjCXX/
Darc-type-traits.mm104 // __is_trivial
105 TRAIT_IS_FALSE(__is_trivial, __strong id);
106 TRAIT_IS_FALSE(__is_trivial, __weak id);
107 TRAIT_IS_FALSE(__is_trivial, __autoreleasing id);
108 TRAIT_IS_TRUE(__is_trivial, __unsafe_unretained id);
109 TRAIT_IS_FALSE(__is_trivial, HasStrong);
110 TRAIT_IS_FALSE(__is_trivial, HasWeak);
111 TRAIT_IS_TRUE(__is_trivial, HasUnsafeUnretained);
/external/clang/test/Modules/Inputs/
Dcxx-decls-imported.h19 static_assert(!__is_trivial(HasNontrivialDefaultConstructor), "");
/external/clang/test/Modules/
Dcxx-decls.cpp26 static_assert(!__is_trivial(HasNontrivialDefaultConstructor), "");
/external/clang/test/PCH/
Dcxx-traits.h59 struct __is_trivial {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp59 bool _is_trivial_result = __is_trivial(int);
/external/clang/test/CXX/drs/
Ddr5xx.cpp668 int check_trivial[__is_trivial(trivial) ? 1 : -1];
/external/clang/include/clang/Basic/
DTokenKinds.def409 TYPE_TRAIT_1(__is_trivial, IsTrivial, KEYCXX)
/external/clang/lib/Parse/
DParseExpr.cpp800 REVERTIBLE_TYPE_TRAIT(__is_trivial); in ParseCastExpression()
/external/libcxx/include/
Dtype_traits3271 : public integral_constant<bool, __is_trivial(_Tp)>