Home
last modified time | relevance | path

Searched refs:__is_trivial (Results 1 – 13 of 13) 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.cpp1077 int t01[T(__is_trivial(char))]; in is_trivial2()
1078 int t02[T(__is_trivial(int))]; in is_trivial2()
1079 int t03[T(__is_trivial(long))]; in is_trivial2()
1080 int t04[T(__is_trivial(short))]; in is_trivial2()
1081 int t05[T(__is_trivial(signed char))]; in is_trivial2()
1082 int t06[T(__is_trivial(wchar_t))]; in is_trivial2()
1083 int t07[T(__is_trivial(bool))]; in is_trivial2()
1084 int t08[T(__is_trivial(float))]; in is_trivial2()
1085 int t09[T(__is_trivial(double))]; in is_trivial2()
1086 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/Analysis/
Ddtor.cpp516 const bool IsSimple = __is_trivial(T) && __is_same(T, U); in do_copy()
539 clang_analyzer_eval(__is_trivial(NonTrivial)); // expected-warning{{FALSE}} in f()
/external/clang/test/CXX/drs/
Ddr5xx.cpp657 int check_trivial[__is_trivial(trivial) ? 1 : -1];
/external/clang/include/clang/Basic/
DTokenKinds.def432 TYPE_TRAIT_1(__is_trivial, IsTrivial, KEYCXX)
/external/clang/lib/Parse/
DParseExpr.cpp828 REVERTIBLE_TYPE_TRAIT(__is_trivial); in ParseCastExpression()
/external/libcxx/include/
Dtype_traits3307 : public integral_constant<bool, __is_trivial(_Tp)>