Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
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 DSequence.h57 typename std::enable_if_t<std::is_enum<Enum>::value, bool> = 0>
93 typename std::enable_if_t<std::is_enum<Enum>::value, bool> = 0>
207 static_assert(std::is_integral<T>::value || std::is_enum<T>::value,
/freebsd-13.1/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-13.1/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-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DSwapByteOrder.h152 inline std::enable_if_t<std::is_enum<T>::value, T> getSwappedBytes(T C) { in getSwappedBytes()
H A DBinaryStreamWriter.h75 static_assert(std::is_enum<T>::value, in writeEnum()
H A DBinaryStreamReader.h90 static_assert(std::is_enum<T>::value, in readEnum()
H A Dtype_traits.h38 (std::is_enum<UnderlyingT>::value ||
/freebsd-13.1/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.h71 int32_t is_enum; member
H A Dbsnmpimport.c901 t->is_enum = (*tok == TOK_ENUM); in snmp_import_top()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DItaniumManglingCanonicalizer.cpp30 std::enable_if_t<std::is_integral<T>::value || std::is_enum<T>::value>
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/fuzzer/
H A DFuzzedDataProvider.h296 static_assert(std::is_enum<T>::value, "|T| must be an enum type."); in ConsumeEnum()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dtype_traits44 template <class T> struct is_enum;
1114 // is_enum
1116 #if __has_feature(is_enum) || defined(_LIBCPP_COMPILER_GCC)
1118 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_enum
1128 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_enum
1143 = is_enum<_Tp>::value;
1146 #endif // __has_feature(is_enum) || defined(_LIBCPP_COMPILER_GCC)
1218 is_enum<_Tp>::value > {};
2275 template <class _Tp, bool = is_integral<_Tp>::value || is_enum<_Tp>::value>
2308 template <class _Tp, bool = is_integral<_Tp>::value || is_enum<_Tp>::value>
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DFeatures.def213 FEATURE(is_enum, LangOpts.CPlusPlus)
/freebsd-13.1/contrib/llvm-project/libcxx/include/__functional/
H A Dhash.h788 template <class _Tp, bool = is_enum<_Tp>::value>
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DReproducerInstrumentation.h228 std::is_enum<T>::value> {};
/freebsd-13.1/contrib/bsnmp/tests/
H A Dcatch.hpp1558 !std::is_enum<T>::value && !std::is_base_of<std::exception, T>::value,
1564 !std::is_enum<T>::value && std::is_base_of<std::exception, T>::value,
1571 std::is_enum<T>::value