Searched refs:has_trivial_destructor (Results 1 - 24 of 24) sorted by relevance

/external/clang/test/Lexer/
H A Dhas_feature_type_traits.cpp33 #if __has_feature(has_trivial_destructor)
34 int has_trivial_destructor();
36 // CHECK: int has_trivial_destructor();
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dtype_traits_unittest.cc125 // by specializing has_trivial_destructor.
136 template<> struct has_trivial_destructor<F> : true_type { }; struct in namespace:google::protobuf::internal
497 EXPECT_TRUE(has_trivial_destructor<bool>::value);
498 EXPECT_TRUE(has_trivial_destructor<char>::value);
499 EXPECT_TRUE(has_trivial_destructor<unsigned char>::value);
500 EXPECT_TRUE(has_trivial_destructor<signed char>::value);
501 EXPECT_TRUE(has_trivial_destructor<wchar_t>::value);
502 EXPECT_TRUE(has_trivial_destructor<int>::value);
503 EXPECT_TRUE(has_trivial_destructor<unsigned int>::value);
504 EXPECT_TRUE(has_trivial_destructor<shor
[all...]
H A Dtype_traits.h47 // has_trivial_destructor
82 template <class T> struct has_trivial_destructor;
257 // We can't get has_trivial_destructor right without compiler help, so
262 template <class T> struct has_trivial_destructor : is_pod<T> { }; struct in namespace:google::protobuf::internal
263 template <class T, class U> struct has_trivial_destructor<std::pair<T, U> > struct in namespace:google::protobuf::internal
265 (has_trivial_destructor<T>::value &&
266 has_trivial_destructor<U>::value)> { };
267 template <class A, int N> struct has_trivial_destructor<A[N]> struct in namespace:google::protobuf::internal
268 : has_trivial_destructor<A> { };
269 template <class T> struct has_trivial_destructor<cons struct in namespace:google::protobuf::internal
[all...]
/external/chromium_org/third_party/cld/base/
H A Dtype_traits.h19 // has_trivial_destructor
128 // We can't get has_trivial_destructor right without compiler help, so
133 template <class T> struct has_trivial_destructor : is_pod<T> { }; struct in namespace:base
134 template <class T, class U> struct has_trivial_destructor<std::pair<T, U> > struct in namespace:base
136 (has_trivial_destructor<T>::value &&
137 has_trivial_destructor<U>::value)> { };
138 template <class A, int N> struct has_trivial_destructor<A[N]> struct in namespace:base
139 : has_trivial_destructor<A> { };
140 template <class T> struct has_trivial_destructor<const T> struct in namespace:base
141 : has_trivial_destructor<
[all...]
/external/stlport/test/unit/
H A Dtype_traits_test.cpp123 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits
495 int has_trivial_destructor(_Tp) { function
496 typedef typename __type_traits<_Tp>::has_trivial_destructor _TrivialDestructor;
518 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits
529 CPPUNIT_CHECK( has_trivial_destructor(int_pointer) == 1 );
530 CPPUNIT_CHECK( has_trivial_destructor(int_const_pointer) == 1 );
531 CPPUNIT_CHECK( has_trivial_destructor(int_volatile_pointer) == 1 );
532 CPPUNIT_CHECK( has_trivial_destructor(int_const_volatile_pointer) == 1 );
533 CPPUNIT_CHECK( has_trivial_destructor(any_pointer) == 1 );
534 CPPUNIT_CHECK( has_trivial_destructor(an
[all...]
H A Duninitialized_test.cpp63 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits
73 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits
H A Ddeque_test.cpp252 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits
H A Dvector_test.cpp423 typedef __true_type has_trivial_destructor; typedef in struct:std::__type_traits
/external/stlport/stlport/stl/
H A D_move_construct_fwk.h70 typedef __type_traits<_Tp>::has_trivial_destructor _TpMoveComplete;
73 typedef typename __type_traits<_Tp>::has_trivial_destructor complete;
H A D_pair.h168 typedef typename _Land2<typename _T1Traits::has_trivial_destructor,
169 typename _T2Traits::has_trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
H A Dboost_type_traits.h32 #include <boost/type_traits/has_trivial_destructor.hpp>
79 enum { trivial_destructor = ::boost::has_trivial_destructor<_Tp>::value };
80 typedef typename __bool2type<trivial_destructor>::_Ret has_trivial_destructor; typedef in struct:__type_traits
H A D_construct.h64 typedef typename __type_traits<_Tp>::has_trivial_destructor _Trivial_destructor;
214 typedef typename __type_traits<_Tp>::has_trivial_destructor _Trivial_destructor;
H A Dtype_traits.h149 typedef __false_type has_trivial_destructor; typedef in struct:__type_traits_aux
158 typedef __false_type has_trivial_destructor; typedef in struct:__type_traits_aux
167 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits_aux
246 typedef __false_type has_trivial_destructor; typedef in struct:__type_traits
252 typedef typename __bool2type<_STLP_HAS_TRIVIAL_DESTRUCTOR(_Tp)>::_Ret has_trivial_destructor; typedef in struct:__type_traits
H A D_pthread_alloc.h249 typedef _STLportAlloc has_trivial_destructor; typedef in struct:__pthread_alloc_type_traits
432 typedef _STLportAlloc has_trivial_destructor; typedef in struct:__perthread_alloc_type_traits
H A D_function_base.h98 typedef _STLportLess has_trivial_destructor; typedef in struct:__type_traits
H A D_alloc.h412 typedef _STLportAlloc has_trivial_destructor; typedef in struct:__alloc_type_traits
H A D_bvector.h97 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
244 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
H A D_hashtable.h162 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
H A D_list.h155 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
H A D_tree.h211 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
H A D_deque.h315 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
H A D_slist.h131 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DCompiler.h61 #define WTF_COMPILER_SUPPORTS_HAS_TRIVIAL_DESTRUCTOR __has_extension(has_trivial_destructor)
/external/clang/test/SemaCXX/
H A Dtype-traits.cpp1376 void has_trivial_destructor() { function

Completed in 701 milliseconds