Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DBitmaskEnum.h81 template <typename E> typename std::underlying_type<E>::type Mask() {
84 return NextPowerOf2(static_cast<typename std::underlying_type<E>::type>(
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
92 auto U = static_cast<typename std::underlying_type<E>::type>(Val);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnosticOptions.h43 using UT = std::underlying_type<DiagnosticLevelMask>::type;
49 using UT = std::underlying_type<DiagnosticLevelMask>::type;
56 using UT = std::underlying_type<DiagnosticLevelMask>::type;
H A DFeatures.def221 FEATURE(underlying_type, LangOpts.CPlusPlus)
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h56 static_cast<std::underlying_type<Class>::type>(a) | \
57 static_cast<std::underlying_type<Class>::type>(b)); \
61 static_cast<std::underlying_type<Class>::type>(a) & \
62 static_cast<std::underlying_type<Class>::type>(b)); \
66 ~static_cast<std::underlying_type<Class>::type>(a)); \
H A DCodeViewRecordIO.h71 using U = typename std::underlying_type<T>::type; in mapEnum()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DOrcError.cpp78 typedef std::underlying_type<OrcErrorCode>::type UT; in orcError()
102 typedef std::underlying_type<OrcErrorCode>::type UT; in convertToErrorCode()
/freebsd-12.1/contrib/llvm/tools/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)); \
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnosticOptions.cpp21 using UT = std::underlying_type<DiagnosticLevelMask>::type; in operator <<()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DEnumTables.cpp17 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A Dllvm-readobj.h67 { #enum, std::underlying_type<enum_class>::type(enum_class::enum) }
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h79 using U = typename std::underlying_type<T>::type; in writeEnum()
H A DBinaryStreamReader.h93 typename std::underlying_type<T>::type N; in readEnum()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DFormatUtil.h47 static_cast<typename std::underlying_type<T>::type>(Value)) in formatUnknownEnum()
/freebsd-12.1/contrib/gcc/cp/
H A Ddecl.c10691 tree underlying_type = NULL_TREE; in finish_enum() local
10782 underlying_type = integer_types[itk]; in finish_enum()
10783 if (TYPE_PRECISION (underlying_type) >= precision in finish_enum()
10784 && TYPE_UNSIGNED (underlying_type) == unsignedp) in finish_enum()
10796 underlying_type = integer_types[itk_unsigned_long_long]; in finish_enum()
10814 TYPE_PRECISION (enumtype) = TYPE_PRECISION (underlying_type); in finish_enum()
10823 TYPE_SIZE (enumtype) = TYPE_SIZE (underlying_type); in finish_enum()
10825 TYPE_MODE (enumtype) = TYPE_MODE (underlying_type); in finish_enum()
10826 TYPE_ALIGN (enumtype) = TYPE_ALIGN (underlying_type); in finish_enum()
10828 TYPE_UNSIGNED (enumtype) = TYPE_UNSIGNED (underlying_type); in finish_enum()
[all …]
H A Ddecl2.c1734 tree underlying_type = TREE_TYPE (DECL_NAME (decl)); in determine_visibility() local
1735 int underlying_vis = type_visibility (underlying_type); in determine_visibility()
1737 || CLASSTYPE_VISIBILITY_SPECIFIED (underlying_type)) in determine_visibility()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/
H A DBreakpointResolverName.cpp172 std::underlying_type<FunctionNameType>::type fnt; in CreateFromStructuredData()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp18 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
H A DTypeDumpVisitor.cpp30 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1147 CompilerType underlying_type = in AddEnumValue() local
1150 ClangUtil::GetQualType(underlying_type)); in AddEnumValue()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1096 clang::QualType underlying_type = GetOrCreateType(er.UnderlyingType); in CreateEnumType() local
1100 uname.c_str(), decl_context, declaration, ToCompilerType(underlying_type), in CreateEnumType()
H A DSymbolFileNativePDB.cpp574 TypeSP underlying_type = GetOrCreateType(er.UnderlyingType); in CreateTagType() local
578 underlying_type->GetByteSize(), nullptr, LLDB_INVALID_UID, in CreateTagType()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h57 static_assert(std::is_same<std::underlying_type<MVT::SimpleValueType>::type,
/freebsd-12.1/contrib/libc++/include/
H A Dtype_traits161 template <class T> struct underlying_type;
222 using underlying_type_t = typename underlying_type<T>::type; // C++14
4655 struct underlying_type
4661 template <class _Tp> using underlying_type_t = typename underlying_type<_Tp>::type;
4667 struct underlying_type
4680 typedef typename underlying_type<_Tp>::type type;
H A D__config474 #if __has_feature(underlying_type)
H A Dutility1564 typedef typename underlying_type<_Tp>::type type;

12