Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h96 using underlying_type = uint8_t;
111 AllocGroup(MemProt MP) : Id(static_cast<underlying_type>(MP)) {}
115 : Id(static_cast<underlying_type>(MP) |
116 (static_cast<underlying_type>(MDP) << BitsForProt)) {}
141 AllocGroup(underlying_type RawId) : Id(RawId) {}
142 underlying_type Id = 0;
217 return DenseMapInfo<orc::AllocGroup::underlying_type>::getHashValue(Val.Id);
/openbsd/gnu/llvm/libcxx/include/__utility/
H A Dto_underlying.h24 _LIBCPP_INLINE_VISIBILITY constexpr typename underlying_type<_Tp>::type
26 return static_cast<typename underlying_type<_Tp>::type>(__val); in __to_underlying()
H A Dconvert_to_integral.h58 typedef typename underlying_type<_Tp>::type type;
/openbsd/gnu/llvm/libcxx/include/__type_traits/
H A Dunderlying_type.h33 struct underlying_type : __underlying_type_impl<_Tp, is_enum<_Tp>::value> {};
36 template <class _Tp> using underlying_type_t = typename underlying_type<_Tp>::type;
/openbsd/gnu/llvm/lldb/include/lldb/
H A Dlldb-enumerations.h25 static_cast<std::underlying_type<Enum>::type>(a) | \
26 static_cast<std::underlying_type<Enum>::type>(b)); \
30 static_cast<std::underlying_type<Enum>::type>(a) & \
31 static_cast<std::underlying_type<Enum>::type>(b)); \
35 ~static_cast<std::underlying_type<Enum>::type>(a)); \
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DTransformTypeTraits.def28 TRANSFORM_TYPE_TRAIT_DEF(EnumUnderlyingType, underlying_type)
H A DFeatures.def237 FEATURE(underlying_type, LangOpts.CPlusPlus)
H A Darm_mve_defs.td251 class unpromoted<Type t> : Type { Type underlying_type = t; }
/openbsd/gnu/llvm/llvm/utils/
H A DlldbDataFormatters.py135 underlying_type = storage.GetType().GetTemplateArgumentType(0)
137 return storage.Cast(underlying_type)
/openbsd/gnu/llvm/libcxx/include/
H A Dtype_traits167 template <class T> struct underlying_type;
234 using underlying_type_t = typename underlying_type<T>::type; // C++14
534 #include <__type_traits/underlying_type.h>
H A DCMakeLists.txt701 __type_traits/underlying_type.h
H A Datomic536 #include <__type_traits/underlying_type.h>
587 typedef underlying_type<__legacy_memory_order>::type __memory_order_underlying_t;
625 static_assert((is_same<underlying_type<memory_order>::type, __memory_order_underlying_t>::value),
H A Dmodule.modulemap.in1547 module underlying_type { private header "__type_traits/underlying_type.h" }
H A Dfuture422 typedef underlying_type<launch>::type __launch_underlying_type;
/openbsd/gnu/llvm/clang/bindings/python/clang/
H A Dcindex.py1777 underlying_type = self.type
1778 if underlying_type.kind == TypeKind.ENUM:
1779 underlying_type = underlying_type.get_declaration().enum_type
1780 if underlying_type.kind in (TypeKind.CHAR_U,
/openbsd/gnu/llvm/lldb/source/Breakpoint/
H A DBreakpointResolverName.cpp167 std::underlying_type<FunctionNameType>::type fnt; in CreateFromStructuredData()
/openbsd/gnu/gcc/gcc/cp/
H A Ddecl.c10149 tree underlying_type = NULL_TREE; in finish_enum() local
10240 underlying_type = integer_types[itk]; in finish_enum()
10241 if (TYPE_PRECISION (underlying_type) >= precision in finish_enum()
10242 && TYPE_UNSIGNED (underlying_type) == unsignedp) in finish_enum()
10254 underlying_type = integer_types[itk_unsigned_long_long]; in finish_enum()
10272 TYPE_PRECISION (enumtype) = TYPE_PRECISION (underlying_type); in finish_enum()
10281 TYPE_SIZE (enumtype) = TYPE_SIZE (underlying_type); in finish_enum()
10283 TYPE_MODE (enumtype) = TYPE_MODE (underlying_type); in finish_enum()
10284 TYPE_ALIGN (enumtype) = TYPE_ALIGN (underlying_type); in finish_enum()
10286 TYPE_UNSIGNED (enumtype) = TYPE_UNSIGNED (underlying_type); in finish_enum()
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1149 clang::QualType underlying_type = GetOrCreateType(er.UnderlyingType); in CreateEnumType() local
1150 if (underlying_type.isNull()) in CreateEnumType()
1156 ToCompilerType(underlying_type), er.isScoped()); in CreateEnumType()
H A DSymbolFileNativePDB.cpp672 TypeSP underlying_type = GetOrCreateType(er.UnderlyingType); in CreateTagType() local
675 underlying_type->GetByteSize(nullptr), nullptr, in CreateTagType()
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1189 CompilerType underlying_type = m_ast.GetEnumerationIntegerType(enum_type); in AddEnumValue() local
1191 ClangUtil::GetQualType(underlying_type)); in AddEnumValue()
/openbsd/gnu/llvm/libcxx/include/__functional/
H A Dhash.h637 typedef typename underlying_type<_Tp>::type type;
/openbsd/gnu/llvm/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn776 "__type_traits/underlying_type.h",
/openbsd/gnu/lib/libcxx/
H A DMakefile788 __type_traits/underlying_type.h \
/openbsd/gnu/llvm/libcxx/docs/Status/
H A DCxx20Papers.csv84 "`P0340R3 <https://wg21.link/P0340R3>`__","LWG","Making std::underlying_type SFINAE-friendly","Kona…
H A DCxx17Issues.csv9 "`2396 <https://wg21.link/LWG2396>`__","``underlying_type``\ doesn't say what to do for an incompl…

12