Searched refs:is_class (Results 1 - 13 of 13) sorted by relevance

/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
H A Dsfinae-1.cpp9 template<typename T> struct is_class { struct
15 int array0[is_class<X>::value? 1 : -1];
16 int array1[is_class<int>::value? -1 : 1];
17 int array2[is_class<char[3]>::value? -1 : 1];
/external/chromium/base/
H A Dtemplate_util_unittest.cc57 EXPECT_TRUE(is_class<AStruct>::value);
58 EXPECT_TRUE(is_class<AClass>::value);
60 EXPECT_FALSE(is_class<AnEnum>::value);
61 EXPECT_FALSE(is_class<int>::value);
62 EXPECT_FALSE(is_class<char*>::value);
63 EXPECT_FALSE(is_class<int&>::value);
64 EXPECT_FALSE(is_class<char[3]>::value);
H A Dtemplate_util.h71 // is_class type_trait implementation.
95 struct is_class struct in namespace:base
H A Dbind_helpers.h178 : UnsafeBindtoRefCountedArgHelper<is_class<T>::value, T> {
/external/clang/test/Lexer/
H A Dhas_feature_type_traits.cpp53 #if __has_feature(is_class)
54 int is_class();
56 // CHECK: int is_class();
/external/astl/tests/
H A Dtest_type_traits.cpp111 using std::is_class;
117 EXPECT_TRUE(is_class<float>::value == false);
118 EXPECT_TRUE(is_class<int *>::value == false);
119 EXPECT_TRUE(is_class<A>::value == true);
/external/clang/test/SemaCXX/
H A Dqualified-id-lookup.cpp115 template <typename T> struct is_class { struct in namespace:test1
121 return is_class<T>::value;
H A Dtype-traits.cpp200 void is_class() function
/external/llvm/include/llvm/Support/
H A Dtype_traits.h34 // the is_class template below. They cannot be located inside
35 // is_class because doing so causes at least GCC to think that
39 // important to make the is_class<T>::value idiom zero cost. it
47 struct is_class struct in namespace:llvm
49 // is_class<> metafunction due to Paul Mensonides (leavings@attbi.com). For
63 static const bool value = !is_class<T>::value;
155 value = (!is_class<UnderlyingT>::value && !is_pointer<UnderlyingT>::value &&
184 = is_class<Base>::value && is_class<Derived>::value &&
H A DCommandLine.h388 struct OptionValue : OptionValueBase<DataType, is_class<DataType>::value> {
1124 is_class<DataType>::value> {
/external/clang/include/clang/Analysis/Support/
H A DBumpVector.h63 if (llvm::is_class<T>::value) {
133 if (llvm::is_class<T>::value) {
226 if (llvm::is_class<T>::value) {
/external/astl/include/
H A Dtype_traits.h155 // TODO: newer version of gcc have these is_class built in.
163 struct is_class: public integral_constant<bool, sizeof(test_pod_type<_T>(0)) == sizeof(sfinae_types::one)> { }; struct in namespace:std
/external/clang/include/clang/AST/
H A DASTVector.h68 if (llvm::is_class<T>::value) {
138 if (llvm::is_class<T>::value) {
380 if (llvm::is_class<T>::value) {

Completed in 251 milliseconds