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

12

/external/clang/test/Lexer/
H A Dhas_feature_type_traits.cpp73 #if __has_feature(is_enum)
74 int is_enum();
76 // CHECK: int is_enum();
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dtype_traits_unittest.cc258 // is_enum isn't supported on MSVC or gcc 3.x
260 // Verify that is_enum is true for enum types.
261 EXPECT_TRUE(is_enum<G>::value);
262 EXPECT_TRUE(is_enum<const G>::value);
263 EXPECT_TRUE(is_enum<volatile G>::value);
264 EXPECT_TRUE(is_enum<const volatile G>::value);
266 // Verify that is_enum is false for a few non-enum types.
267 EXPECT_FALSE(is_enum<void>::value);
268 EXPECT_FALSE(is_enum<G&>::value);
269 EXPECT_FALSE(is_enum<
[all...]
H A Dtype_traits.h41 // is_enum
74 // is_enum uses is_convertible, which is not available on MSVC.
75 template <class T> struct is_enum;
179 template <class T> struct is_enum struct in namespace:google::protobuf::internal
188 template <class T> struct is_enum<const T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
189 template <class T> struct is_enum<volatile T> : is_enum<T> { }; struct in namespace:google::protobuf::internal
190 template <class T> struct is_enum<const volatile T> : is_enum< struct in namespace:google::protobuf::internal
[all...]
/external/clang/test/SemaCXX/
H A Dalias-template.cpp152 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); };
157 template<typename T> EnableIf<is_enum<T>> f();
158 template<typename T> DisableIf<is_enum<T>> f();
167 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}
168 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}}
/external/libcxx/test/utilities/meta/meta.unary/meta.unary.cat/
H A Dlvalue_ref.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Drvalue_ref.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Darray.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dclass.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Denum.pass.cpp31 static_assert( std::is_enum<T>::value, "");
H A Dfloating_point.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dfunction.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dintegral.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dmember_function_pointer.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dmember_object_pointer.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dnullptr.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dpointer.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dunion.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
H A Dvoid.pass.cpp31 static_assert(!std::is_enum<T>::value, "");
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Dv8_dictionary.py114 if idl_type.impl_should_use_nullable_container or idl_type.is_enum or idl_type.is_string_type:
H A Didl_types.py160 def is_enum(self): member in class:IdlType
190 self.is_enum or
H A Dv8_utilities.py123 if not idl_type.is_enum:
H A Dv8_types.py211 idl_type.is_enum):
631 if idl_type.is_enum:
856 idl_type.is_enum or idl_type.is_dictionary or idl_type.base_type == 'object')
H A Dv8_interface.py809 if any(idl_type.is_string_type or idl_type.is_enum
836 if idl_type.is_string_type or idl_type.is_enum)
H A Dv8_attributes.py180 not idl_type.is_enum):
/external/qemu/scripts/
H A Dqapi.py296 def is_enum(name): function
317 elif is_enum(name):

Completed in 699 milliseconds

12