Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/libcxx/include/__utility/
H A Dto_underlying.h27 _LIBCPP_INLINE_VISIBILITY constexpr typename underlying_type<_Tp>::type
29 return static_cast<typename underlying_type<_Tp>::type>(__val); in __to_underlying()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.h49 using UT = std::underlying_type<DiagnosticLevelMask>::type;
55 using UT = std::underlying_type<DiagnosticLevelMask>::type;
62 using UT = std::underlying_type<DiagnosticLevelMask>::type;
H A DFeatures.def230 FEATURE(underlying_type, LangOpts.CPlusPlus)
H A Darm_mve_defs.td251 class unpromoted<Type t> : Type { Type underlying_type = t; }
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h55 static_cast<std::underlying_type<Class>::type>(a) | \
56 static_cast<std::underlying_type<Class>::type>(b)); \
60 static_cast<std::underlying_type<Class>::type>(a) & \
61 static_cast<std::underlying_type<Class>::type>(b)); \
65 ~static_cast<std::underlying_type<Class>::type>(a)); \
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
H A DOrcError.cpp83 typedef std::underlying_type<OrcErrorCode>::type UT; in orcError()
106 typedef std::underlying_type<OrcErrorCode>::type UT; in convertToErrorCode()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-enumerations.h24 static_cast<std::underlying_type<Enum>::type>(a) | \
25 static_cast<std::underlying_type<Enum>::type>(b)); \
29 static_cast<std::underlying_type<Enum>::type>(a) & \
30 static_cast<std::underlying_type<Enum>::type>(b)); \
34 ~static_cast<std::underlying_type<Enum>::type>(a)); \
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticOptions.cpp20 using UT = std::underlying_type<DiagnosticLevelMask>::type; in operator <<()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DEnumTables.cpp16 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.h50 { #enum, std::underlying_type<enum_class>::type(enum_class::enum) }
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSequence.h59 using type = typename std::underlying_type<Enum>::type; in from()
95 using type = typename std::underlying_type<Enum>::type; in to()
H A DBitfields.h198 using type = typename std::underlying_type<T>::type;
/freebsd-13.1/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverName.cpp167 std::underlying_type<FunctionNameType>::type fnt; in CreateFromStructuredData()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1178 CompilerType underlying_type = m_ast.GetEnumerationIntegerType(enum_type); in AddEnumValue() local
1180 ClangUtil::GetQualType(underlying_type)); in AddEnumValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp17 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
H A DTypeDumpVisitor.cpp29 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1104 clang::QualType underlying_type = GetOrCreateType(er.UnderlyingType); in CreateEnumType() local
1109 ToCompilerType(underlying_type), er.isScoped()); in CreateEnumType()
H A DSymbolFileNativePDB.cpp562 TypeSP underlying_type = GetOrCreateType(er.UnderlyingType); in CreateTagType() local
566 underlying_type->GetByteSize(nullptr), nullptr, LLDB_INVALID_UID, in CreateTagType()
/freebsd-13.1/contrib/llvm-project/libcxx/include/__functional/
H A Dhash.h802 typedef typename underlying_type<_Tp>::type type;
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h54 static_assert(std::is_same<std::underlying_type<MVT::SimpleValueType>::type,
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dtype_traits167 template <class T> struct underlying_type;
234 using underlying_type_t = typename underlying_type<T>::type; // C++14
4300 struct underlying_type : __underlying_type_impl<_Tp, is_enum<_Tp>::value> {};
4303 template <class _Tp> using underlying_type_t = typename underlying_type<_Tp>::type;
4309 typedef typename underlying_type<_Tp>::type type;
H A Datomic633 typedef underlying_type<__legacy_memory_order>::type __memory_order_underlying_t;
671 static_assert((is_same<underlying_type<memory_order>::type, __memory_order_underlying_t>::value),
H A Dfuture417 typedef underlying_type<launch>::type __launch_underlying_type;
/freebsd-13.1/contrib/bsnmp/tests/
H A Dcatch.hpp1627 … return ::Catch::Detail::stringify(static_cast<typename std::underlying_type<E>::type>(e)); in convertUnknownEnumToString()
15144 … return !!(static_cast<std::underlying_type<XmlFormatting>::type>(fmt & XmlFormatting::Newline)); in shouldNewline()
15148 … return !!(static_cast<std::underlying_type<XmlFormatting>::type>(fmt & XmlFormatting::Indent)); in shouldIndent()
15155 static_cast<std::underlying_type<XmlFormatting>::type>(lhs) | in operator |()
15156 static_cast<std::underlying_type<XmlFormatting>::type>(rhs) in operator |()
15162 static_cast<std::underlying_type<XmlFormatting>::type>(lhs) & in operator &()
15163 static_cast<std::underlying_type<XmlFormatting>::type>(rhs) in operator &()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8321 CompilerType underlying_type = GetEnumerationIntegerType(enum_type); in AddEnumerationValueToEnumerationType() local
8323 underlying_type.IsIntegerType(is_signed); in AddEnumerationValueToEnumerationType()