Searched refs:has_trivial_destructor (Results 1 - 10 of 10) 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/protobuf/src/google/protobuf/stubs/
H A Dtype_traits_unittest.cc128 // by specializing has_trivial_destructor.
139 template<> struct has_trivial_destructor<F> : true_type { }; struct in namespace:google::protobuf::internal
500 EXPECT_TRUE(has_trivial_destructor<bool>::value);
501 EXPECT_TRUE(has_trivial_destructor<char>::value);
502 EXPECT_TRUE(has_trivial_destructor<unsigned char>::value);
503 EXPECT_TRUE(has_trivial_destructor<signed char>::value);
504 EXPECT_TRUE(has_trivial_destructor<wchar_t>::value);
505 EXPECT_TRUE(has_trivial_destructor<int>::value);
506 EXPECT_TRUE(has_trivial_destructor<unsigned int>::value);
507 EXPECT_TRUE(has_trivial_destructor<shor
[all...]
H A Dtype_traits.h48 // has_trivial_destructor
102 template <class T> struct has_trivial_destructor;
284 // We can't get has_trivial_destructor right without compiler help, so
289 template <class T> struct has_trivial_destructor : is_pod<T> { }; struct in namespace:google::protobuf::internal
290 template <class T, class U> struct has_trivial_destructor<std::pair<T, U> > struct in namespace:google::protobuf::internal
292 (has_trivial_destructor<T>::value &&
293 has_trivial_destructor<U>::value)> { };
294 template <class A, int N> struct has_trivial_destructor<A[N]> struct in namespace:google::protobuf::internal
295 : has_trivial_destructor<A> { };
296 template <class T> struct has_trivial_destructor<cons struct in namespace:google::protobuf::internal
[all...]
/external/protobuf/src/google/protobuf/
H A Darena.h306 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value);
316 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value,
327 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value,
341 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value,
356 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value,
372 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value,
388 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value,
405 return arena->CreateInternal<T>(google::protobuf::internal::has_trivial_destructor<T>::value,
424 google::protobuf::internal::has_trivial_destructor<T>::value,
583 return google::protobuf::internal::has_trivial_destructor<
[all...]
H A Darena_unittest.cc1340 if (google::protobuf::internal::has_trivial_destructor<uint64>::value) {
/external/libchrome/base/
H A Dtemplate_util.h123 using is_trivially_destructible = std::has_trivial_destructor<T>;
/external/pcre/pcrecpp/include/
H A Dpcre_stringpiece.h171 typedef __true_type has_trivial_destructor; typedef in struct:__type_traits
/external/skia/include/private/
H A DSkTLogic.h60 template <typename T> using is_trivially_destructible = std::has_trivial_destructor<T>;
/external/skia/src/core/
H A DSkLiteDL.cpp702 // Older libstdc++ has pre-standard std::has_trivial_destructor.
704 template <typename T> using can_skip_destructor = std::has_trivial_destructor<T>;
/external/clang/test/SemaCXX/
H A Dtype-traits.cpp1403 void has_trivial_destructor() { function

Completed in 973 milliseconds