Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSequence.h86 #include <type_traits> // std::is_integral, std::is_enum, std::underlying_type,
140 std::enable_if_t<std::is_enum<Enum>::value, bool> = 0>
176 std::enable_if_t<std::is_enum<Enum>::value, bool> = 0>
290 static_assert(std::is_integral<T>::value || std::is_enum<T>::value,
304 !std::is_enum<T>::value>>
314 !std::is_enum<T>::value>>
324 !std::is_enum<T>::value>>
336 typename = std::enable_if_t<std::is_enum<EnumT>::value>>
351 typename = std::enable_if_t<std::is_enum<EnumT>::value>>
363 typename = std::enable_if_t<std::is_enum<Enum
[all...]
H A 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 ||
/freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_enum.h19 template <typename T> struct is_enum : bool_constant<__is_enum(T)> {}; struct
21 LIBC_INLINE_VAR constexpr bool is_enum_v = is_enum<T>::value;
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dunderlying_type.h21 template <class _Tp, bool = is_enum<_Tp>::value>
33 struct underlying_type : __underlying_type_impl<_Tp, is_enum<_Tp>::value> {};
H A Dis_enum.h22 struct _LIBCPP_TEMPLATE_VIS is_enum : public integral_constant<bool, __is_enum(_Tp)> {}; struct
H A Dis_scalar.h49 is_enum<_Tp>::value> {};
H A Dmake_signed.h48 template <class _Tp, bool = is_integral<_Tp>::value || is_enum<_Tp>::value>
H A Dmake_unsigned.h50 template <class _Tp, bool = is_integral<_Tp>::value || is_enum<_Tp>::value>
/freebsd/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c229 int is_enum; member
731 t->is_enum = 0; in make_type()
758 t->is_enum = (*tok == TOK_ENUM); in parse_type()
926 t->is_enum = (tok == TOK_ENUM); in parse_top()
1558 if ((t->is_enum || t->is_bits) && strcmp(t->name, name) == 0) { in gen_enum_funcs_str()
1578 if (t->is_enum || t->is_bits) in gen_all_enum_funcs()
1588 if (t->is_enum || t->is_bits) in gen_enums()
1608 if ((t->is_enum || t->is_bits) && strcmp(t->name, name) == 0) { in extract_enum()
1628 if (t->is_enum || t->is_bits) in extract_all_enums()
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_enum.h22 struct _LIBCPP_NO_SPECIALIZATIONS is_enum : integral_constant<bool, __is_enum(_Tp)> {}; struct
H A Dunderlying_type.h33 struct _LIBCPP_NO_SPECIALIZATIONS underlying_type : __underlying_type_impl<_Tp, is_enum<_Tp>::value…
H A Dis_scalar.h54 is_enum<_Tp>::value> {};
H A Dmake_signed.h43 template <class _Tp, bool = is_integral<_Tp>::value || is_enum<_Tp>::value>
H A Dmake_unsigned.h45 template <class _Tp, bool = is_integral<_Tp>::value || is_enum<_Tp>::value>
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDataCollection.h53 std::enable_if_t<std::is_integral<Type>::value || std::is_enum<Type>::value ||
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__utility/
H A Dconvert_to_integral.h47 template <class _Tp, bool = is_enum<_Tp>::value>
/freebsd/contrib/llvm-project/libcxx/include/__utility/
H A Dconvert_to_integral.h51 template <class _Tp, bool = is_enum<_Tp>::value>
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dendianness.h132 inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) { in getSwappedBytes()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h69 static_assert(std::is_enum<T>::value, in writeEnum()
H A DBinaryStreamReader.h83 static_assert(std::is_enum<T>::value, in readEnum()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h287 struct ProgramStatePartialTrait<T, std::enable_if_t<std::is_enum<T>::value>>
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.h68 int32_t is_enum; member
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dtype_traits44 template <class T> struct is_enum;
265 = is_enum<T>::value; // C++17
450 #include <__cxx03/__type_traits/is_enum.h>
/freebsd/contrib/llvm-project/libcxx/include/
H A Dtype_traits42 template <class T> struct is_enum;
294 = is_enum<T>::value; // since C++17
490 # include <__type_traits/is_enum.h>
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm

12