Home
last modified time | relevance | path

Searched refs:is_enum (Results 1 – 25 of 160) sorted by relevance

1234567

/external/llvm-project/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_enum.pass.cpp20 static_assert( std::is_enum<T>::value, ""); in test_is_enum()
21 static_assert( std::is_enum<const T>::value, ""); in test_is_enum()
22 static_assert( std::is_enum<volatile T>::value, ""); in test_is_enum()
23 static_assert( std::is_enum<const volatile T>::value, ""); in test_is_enum()
35 static_assert(!std::is_enum<T>::value, ""); in test_is_not_enum()
36 static_assert(!std::is_enum<const T>::value, ""); in test_is_not_enum()
37 static_assert(!std::is_enum<volatile T>::value, ""); in test_is_not_enum()
38 static_assert(!std::is_enum<const volatile T>::value, ""); in test_is_not_enum()
Denum.pass.cpp31 static_assert( std::is_enum<T>::value, ""); in test_enum_imp()
54 static_assert(!std::is_enum<incomplete_type>::value, ""); in main()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/
Dis_enum.pass.cpp21 static_assert( std::is_enum<T>::value, ""); in test_is_enum()
22 static_assert( std::is_enum<const T>::value, ""); in test_is_enum()
23 static_assert( std::is_enum<volatile T>::value, ""); in test_is_enum()
24 static_assert( std::is_enum<const volatile T>::value, ""); in test_is_enum()
36 static_assert(!std::is_enum<T>::value, ""); in test_is_not_enum()
37 static_assert(!std::is_enum<const T>::value, ""); in test_is_not_enum()
38 static_assert(!std::is_enum<volatile T>::value, ""); in test_is_not_enum()
39 static_assert(!std::is_enum<const volatile T>::value, ""); in test_is_not_enum()
Denum.pass.cpp32 static_assert( std::is_enum<T>::value, ""); in test_enum_imp()
55 static_assert(!std::is_enum<incomplete_type>::value, ""); in main()
/external/libchrome/base/metrics/
Dhistogram_macros_internal.h42 std::enable_if_t<std::is_enum<decltype(Enum::kMaxValue)>::value>> {
148 static_assert(!std::is_enum<decltype(sample)>::value, \
150 static_assert(!std::is_enum<decltype(boundary)>::value, \
164 static_assert(!std::is_enum<decltype(sample)>::value, \
166 static_assert(!std::is_enum<decltype(boundary)>::value, \
211 static_assert(!std::is_enum<decayed_boundary>::value || \
212 std::is_enum<decayed_sample>::value, \
214 static_assert(!std::is_enum<decayed_sample>::value || \
215 !std::is_enum<decayed_boundary>::value || \
232 static_assert(std::is_enum<decayed_sample>::value, \
Dhistogram_functions.h54 static_assert(std::is_enum<T>::value, in UmaHistogramEnumeration()
66 static_assert(std::is_enum<T>::value, in UmaHistogramEnumeration()
/external/clang/test/SemaCXX/
Dalias-template.cpp150 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); }; struct
155 template<typename T> EnableIf<is_enum<T>> f();
156 template<typename T> DisableIf<is_enum<T>> f();
165 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}
166 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}}
/external/llvm-project/clang/test/SemaCXX/
Dalias-template.cpp147 template<typename T> struct is_enum { static constexpr bool value = __is_enum(T); }; struct
152 template<typename T> EnableIf<is_enum<T>> f();
153 template<typename T> DisableIf<is_enum<T>> f();
162 template<typename T, typename U = EnableIf<is_enum<T>>> struct fail1 {}; // expected-note {{here}}
163 template<typename T> struct fail2 : DisableIf<is_enum<T>> {}; // expected-note {{here}}
/external/skia/include/private/
DSkTFitsIn.h24 struct sk_strip_enum<T, typename std::enable_if<std::is_enum<T>::value>::type> {
71 typename std::enable_if<(std::is_integral<S>::value || std::is_enum<S>::value) &&
72 (std::is_integral<D>::value || std::is_enum<D>::value), bool>::type
/external/skqp/include/private/
DSkTFitsIn.h56 typename std::enable_if<(std::is_integral<S>::value || std::is_enum<S>::value) &&
57 (std::is_integral<D>::value || std::is_enum<D>::value), bool>::type
/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h141 template <typename T> using is_enum = std::is_enum<T>; variable
154 template <typename T> using is_enum = std::tr1::is_enum<T>; variable
178 template <typename T> struct is_enum : public std::is_enum<T> {};
/external/clang/test/Lexer/
Dhas_feature_type_traits.cpp73 #if __has_feature(is_enum)
74 int is_enum();
/external/llvm-project/clang/test/Lexer/
Dhas_feature_type_traits.cpp73 #if __has_feature(is_enum)
74 int is_enum();
/external/llvm-project/llvm/include/llvm/ADT/
DBitfields.h196 template <typename T, bool = std::is_enum<T>::value>
220 T MaxValue = std::is_enum<T>::value
239 static_assert(!std::is_enum<T>::value || MaxValue != T(0),
241 static_assert(!std::is_enum<T>::value ||
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyCheck.h342 std::enable_if_t<std::is_enum<T>::value, llvm::Expected<T>>
361 std::enable_if_t<std::is_enum<T>::value, T>
382 std::enable_if_t<std::is_enum<T>::value, llvm::Expected<T>>
402 std::enable_if_t<std::is_enum<T>::value, T>
457 std::enable_if_t<std::is_enum<T>::value>
478 std::enable_if_t<std::is_enum<T>::value, std::vector<NameAndValue>>
/external/angle/src/libANGLE/
DvalidationEGL.h104 typename std::enable_if<std::is_enum<PackedT>::value, PackedT>::type PackParam(FromT from) in PackParam()
111 typename std::enable_if<!std::is_enum<PackedT>::value,
133 inline typename std::enable_if<!std::is_enum<PackedT>::value,
/external/webrtc/rtc_base/
Dchecks.h197 absl::enable_if_t<std::is_enum<T>::value &&
220 std::is_enum<U>::value>* = nullptr>
228 !std::is_enum<U>::value>* = nullptr>
272 std::is_enum<U>::value>* = nullptr>
280 !std::is_enum<U>::value>* = nullptr>
Dlogging.h262 absl::enable_if_t<std::is_enum<T>::value &&
326 std::is_enum<U>::value>* = nullptr>
334 !std::is_enum<U>::value>* = nullptr>
357 std::is_enum<U>::value>* = nullptr>
365 !std::is_enum<U>::value>* = nullptr>
/external/libchrome/mojo/public/cpp/bindings/lib/
Dbindings_internal.h214 template <typename T, bool is_enum = std::is_enum<T>::value>
314 static_assert(std::is_enum<T>::value, "Incorrect hash function.");
/external/vulkan-validation-layers/layers/
Dhash_util.h44 size_t HashWithUnderlying(Value value, typename std::enable_if<!std::is_enum<Value>::value, void *>…
49 size_t HashWithUnderlying(Value value, typename std::enable_if<std::is_enum<Value>::value, void *>:…
/external/llvm-project/libcxx/test/libcxx/utilities/memory/util.dynamic.safety/
Dget_pointer_safety_new_abi.pass.cpp26 static_assert(std::is_enum<std::pointer_safety>::value, ""); in main()
/external/libcxx/test/std/input.output/filesystems/fs.enum/
Denum.path.format.pass.cpp25 static_assert(std::is_enum<E>::value, ""); in main()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.enum/
Denum.path.format.pass.cpp24 static_assert(std::is_enum<E>::value, ""); in main()
/external/libcxx/test/libcxx/utilities/memory/util.dynamic.safety/
Dget_pointer_safety_new_abi.pass.cpp25 static_assert(std::is_enum<std::pointer_safety>::value, ""); in main()
/external/perfetto/include/perfetto/tracing/
Ddebug_annotation.h32 template <typename T, bool = std::is_enum<T>::value>

1234567