Searched refs:__is_trivial (Results 1 – 12 of 12) sorted by relevance
/external/clang/test/CXX/class/ |
D | p6-0x.cpp | 11 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/ |
D | type-traits.cpp | 1054 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 …]
|
D | cxx0x-defaulted-functions.cpp | 31 static_assert(__is_trivial(foo), "foo should be trivial");
|
/external/clang/test/SemaObjCXX/ |
D | arc-type-traits.mm | 104 // __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/ |
D | cxx-decls-imported.h | 19 static_assert(!__is_trivial(HasNontrivialDefaultConstructor), "");
|
/external/clang/test/Modules/ |
D | cxx-decls.cpp | 26 static_assert(!__is_trivial(HasNontrivialDefaultConstructor), "");
|
/external/clang/test/PCH/ |
D | cxx-traits.h | 59 struct __is_trivial {}; // expected-warning {{made available}} struct
|
D | cxx-traits.cpp | 59 bool _is_trivial_result = __is_trivial(int);
|
/external/clang/test/CXX/drs/ |
D | dr5xx.cpp | 668 int check_trivial[__is_trivial(trivial) ? 1 : -1];
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 409 TYPE_TRAIT_1(__is_trivial, IsTrivial, KEYCXX)
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 800 REVERTIBLE_TYPE_TRAIT(__is_trivial); in ParseCastExpression()
|
/external/libcxx/include/ |
D | type_traits | 3271 : public integral_constant<bool, __is_trivial(_Tp)>
|