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

/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
H A Dsfinae-1.cpp10 template<typename T> struct is_class { struct
16 int array0[is_class<X>::value? 1 : -1];
17 int array1[is_class<int>::value? -1 : 1];
18 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/chromium_org/base/
H A Dtemplate_util_unittest.cc70 // is_class<Type>
71 COMPILE_ASSERT(is_class<AStruct>::value, IsClass);
72 COMPILE_ASSERT(is_class<AClass>::value, IsClass);
73 COMPILE_ASSERT(!is_class<AnEnum>::value, IsClass);
74 COMPILE_ASSERT(!is_class<int>::value, IsClass);
75 COMPILE_ASSERT(!is_class<char*>::value, IsClass);
76 COMPILE_ASSERT(!is_class<int&>::value, IsClass);
77 COMPILE_ASSERT(!is_class<char[3]>::value, IsClass);
H A Dtemplate_util.h112 // is_class type_trait implementation.
136 struct is_class struct in namespace:base
H A Dbind_helpers.h274 : UnsafeBindtoRefCountedArgHelper<is_class<T>::value, T> {
/external/clang/test/SemaCXX/
H A Dqualified-id-lookup.cpp116 template <typename T> struct is_class { struct in namespace:test1
122 return is_class<T>::value;
H A Dtype-traits.cpp226 void is_class() function
/external/llvm/include/llvm/Support/
H A Dtype_traits.h39 // the is_class template below. They cannot be located inside
40 // is_class because doing so causes at least GCC to think that
44 // important to make the is_class<T>::value idiom zero cost. it
52 struct is_class struct in namespace:llvm
54 // is_class<> metafunction due to Paul Mensonides (leavings@attbi.com). For
74 static const bool value = !is_class<T>::value;
171 value = (!is_class<UnderlyingT>::value && !is_pointer<UnderlyingT>::value &&
199 = is_class<Base>::value && is_class<Derived>::value &&
H A DCommandLine.h414 struct OptionValue : OptionValueBase<DataType, is_class<DataType>::value> {
1148 is_class<DataType>::value> {
H A DYAMLTraits.h250 template <typename T, bool Enabled = llvm::is_class<T>::value>
/external/chromium_org/v8/src/
H A Dtypes.cc35 if (is_class()) {
41 if (union_get(unioned, i)->is_class()) ++result;
85 return type->is_class();
123 } else if (this->is_class()) {
266 if (that->is_class()) {
267 return this->is_class() && *this->as_class() == *that->as_class();
302 (this->is_constant() && that->is_class() &&
339 if (this->is_class()) {
340 return that->is_class() && *this->as_class() == *that->as_class();
364 if (this->is_class() || thi
[all...]
H A Dtypes.h168 bool IsClass() { return is_class(); }
209 ASSERT(t->is_bitset() || t->is_class() ||
235 bool is_class() { return this->IsMap(); } function in class:v8::internal::Type
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_helpers.h81 // inferrable from the given arguments, including is_class which indicates
83 string ToJavaName(const Params& params, const string& name, bool is_class,
H A Djavamicro_helpers.cc161 string ToJavaName(const Params& params, const string& name, bool is_class, argument
166 } else if (is_class && params.java_multiple_files(file->name())) {
/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/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/
H A Dtemplate_util.h78 // is_class type_trait implementation.
102 struct is_class struct in namespace:i18n::addressinput
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dtemplate_util.h74 // is_class type_trait implementation.
98 struct is_class struct in namespace:talk_base
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/
H A Dtemplate_util.h75 // is_class type_trait implementation.
99 struct is_class struct in namespace:i18n::phonenumbers
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_helpers.h85 // inferrable from the given arguments, including is_class which indicates
87 string ToJavaName(const Params& params, const string& name, bool is_class,
H A Djavanano_helpers.cc208 string ToJavaName(const Params& params, const string& name, bool is_class, argument
213 } else if (is_class && params.java_multiple_files(file->name())) {
/external/clang/include/clang/AST/
H A DASTVector.h72 if (llvm::is_class<T>::value) {
142 if (llvm::is_class<T>::value) {
384 if (llvm::is_class<T>::value) {
/external/chromium_org/google_apis/drive/
H A Dtest_util.h168 base::is_class<T>::value && !IsMovable<T>::value, // UseConstRef

Completed in 651 milliseconds