| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 81 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 D | DiagnosticOptions.h | 43 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 D | Features.def | 221 FEATURE(underlying_type, LangOpts.CPlusPlus)
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CodeView.h | 56 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 D | CodeViewRecordIO.h | 71 using U = typename std::underlying_type<T>::type; in mapEnum()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcError.cpp | 78 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 D | lldb-enumerations.h | 25 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 D | DiagnosticOptions.cpp | 21 using UT = std::underlying_type<DiagnosticLevelMask>::type; in operator <<()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | EnumTables.cpp | 17 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | llvm-readobj.h | 67 { #enum, std::underlying_type<enum_class>::type(enum_class::enum) }
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | BinaryStreamWriter.h | 79 using U = typename std::underlying_type<T>::type; in writeEnum()
|
| H A D | BinaryStreamReader.h | 93 typename std::underlying_type<T>::type N; in readEnum()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | FormatUtil.h | 47 static_cast<typename std::underlying_type<T>::type>(Value)) in formatUnknownEnum()
|
| /freebsd-12.1/contrib/gcc/cp/ |
| H A D | decl.c | 10691 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 D | decl2.c | 1734 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 D | BreakpointResolverName.cpp | 172 std::underlying_type<FunctionNameType>::type fnt; in CreateFromStructuredData()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | EnumTables.cpp | 18 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
| H A D | TypeDumpVisitor.cpp | 30 { #enum, std::underlying_type < enum_class > ::type(enum_class::enum) }
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 1147 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 D | PdbAstBuilder.cpp | 1096 clang::QualType underlying_type = GetOrCreateType(er.UnderlyingType); in CreateEnumType() local 1100 uname.c_str(), decl_context, declaration, ToCompilerType(underlying_type), in CreateEnumType()
|
| H A D | SymbolFileNativePDB.cpp | 574 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 D | CodeGenDAGPatterns.h | 57 static_assert(std::is_same<std::underlying_type<MVT::SimpleValueType>::type,
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | type_traits | 161 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 | __config | 474 #if __has_feature(underlying_type)
|
| H A D | utility | 1564 typedef typename underlying_type<_Tp>::type type;
|