Searched refs:__is_trivial (Results 1 – 13 of 13) 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 | 1077 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 …]
|
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/Analysis/ |
D | dtor.cpp | 516 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/ |
D | dr5xx.cpp | 657 int check_trivial[__is_trivial(trivial) ? 1 : -1];
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 432 TYPE_TRAIT_1(__is_trivial, IsTrivial, KEYCXX)
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 828 REVERTIBLE_TYPE_TRAIT(__is_trivial); in ParseCastExpression()
|
/external/libcxx/include/ |
D | type_traits | 3307 : public integral_constant<bool, __is_trivial(_Tp)>
|