/external/clang/test/Lexer/ |
H A D | has_feature_type_traits.cpp | 73 #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 D | type_traits_unittest.cc | 258 // 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 D | type_traits.h | 41 // 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 D | alias-template.cpp | 152 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 D | lvalue_ref.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | rvalue_ref.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | array.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | class.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | enum.pass.cpp | 31 static_assert( std::is_enum<T>::value, "");
|
H A D | floating_point.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | function.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | integral.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | member_function_pointer.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | member_object_pointer.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | nullptr.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | pointer.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | union.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
H A D | void.pass.cpp | 31 static_assert(!std::is_enum<T>::value, "");
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
H A D | v8_dictionary.py | 114 if idl_type.impl_should_use_nullable_container or idl_type.is_enum or idl_type.is_string_type:
|
H A D | idl_types.py | 160 def is_enum(self): member in class:IdlType 190 self.is_enum or
|
H A D | v8_utilities.py | 123 if not idl_type.is_enum:
|
H A D | v8_types.py | 211 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 D | v8_interface.py | 809 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 D | v8_attributes.py | 180 not idl_type.is_enum):
|
/external/qemu/scripts/ |
H A D | qapi.py | 296 def is_enum(name): function 317 elif is_enum(name):
|