Searched refs:has_trivial_copy (Results 1 - 4 of 4) sorted by relevance

/external/clang/test/Lexer/
H A Dhas_feature_type_traits.cpp23 #if __has_feature(has_trivial_copy)
24 int has_trivial_copy();
26 // CHECK: int has_trivial_copy();
/external/protobuf/src/google/protobuf/stubs/
H A Dtype_traits_unittest.cc76 // by specializing has_trivial_copy.
87 template<> struct has_trivial_copy<C> : true_type { }; struct in namespace:google::protobuf::internal
415 EXPECT_TRUE(has_trivial_copy<bool>::value);
416 EXPECT_TRUE(has_trivial_copy<char>::value);
417 EXPECT_TRUE(has_trivial_copy<unsigned char>::value);
418 EXPECT_TRUE(has_trivial_copy<signed char>::value);
419 EXPECT_TRUE(has_trivial_copy<wchar_t>::value);
420 EXPECT_TRUE(has_trivial_copy<int>::value);
421 EXPECT_TRUE(has_trivial_copy<unsigned int>::value);
422 EXPECT_TRUE(has_trivial_copy<shor
[all...]
H A Dtype_traits.h46 // has_trivial_copy
100 template <class T> struct has_trivial_copy;
258 // We can't get has_trivial_copy right without compiler help, so fail
263 template <class T> struct has_trivial_copy : is_pod<T> { }; struct in namespace:google::protobuf::internal
264 template <class T, class U> struct has_trivial_copy<std::pair<T, U> > struct in namespace:google::protobuf::internal
266 (has_trivial_copy<T>::value &&
267 has_trivial_copy<U>::value)> { };
268 template <class A, int N> struct has_trivial_copy<A[N]> struct in namespace:google::protobuf::internal
269 : has_trivial_copy<A> { };
270 template <class T> struct has_trivial_copy<cons struct in namespace:google::protobuf::internal
[all...]
/external/protobuf/src/google/protobuf/
H A Drepeated_field.h309 bool HasTrivialCopy = has_trivial_copy<Element>::value>

Completed in 365 milliseconds