Home
last modified time | relevance | path

Searched refs:is_enum (Results 1 – 25 of 28) 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 ||
H A DFoldingSet.h849 struct FoldingSetTrait<T, std::enable_if_t<std::is_enum<T>::value>> {
H A DSTLExtras.h184 typename UT1 = std::enable_if_t<std::is_enum<EnumTy1>::value,
186 typename UT2 = std::enable_if_t<std::is_enum<EnumTy2>::value,
/freebsd/contrib/llvm-project/libcxx/include/__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.h54 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/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/__utility/
H A Dconvert_to_integral.h14 #include <__type_traits/is_enum.h>
51 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.h68 static_assert(std::is_enum<T>::value, in writeEnum()
H A DBinaryStreamReader.h81 static_assert(std::is_enum<T>::value,
/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.h69 int32_t is_enum; member
H A Dbsnmpimport.c899 t->is_enum = (*tok == TOK_ENUM); in snmp_import_top()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dtype_traits44 template <class T> struct is_enum;
265 = is_enum<T>::value; // C++17
450 #include <__type_traits/is_enum.h>
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFeatures.def237 FEATURE(is_enum, LangOpts.CPlusPlus)
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp3167 bool is_enum = GetCompilerType().IsEnumerationType(); in CastToBasicType() local
3178 if (!is_scalar && !is_enum && !is_pointer) { in CastToBasicType()
3317 bool is_enum = GetCompilerType().IsEnumerationType(); in CastToEnumType() local
3321 if (!is_enum && !is_integer && !is_float) { in CastToEnumType()
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dhash.h490 template <class _Tp, bool = is_enum<_Tp>::value>
/freebsd/lib/libc++/
H A DMakefile1261 TTR_HEADERS+= is_enum.h
H A Dlibcxx.imp767 { include: [ "<__type_traits/is_enum.h>", "private", "<type_traits>", "public" ] },

12