| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Visibility.h | 61 : linkage_(llvm::to_underlying(Linkage::External)), in LinkageInfo() 64 : linkage_(llvm::to_underlying(L)), visibility_(V), explicit_(E) { in LinkageInfo() 89 void setLinkage(Linkage L) { linkage_ = llvm::to_underlying(L); } in setLinkage()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/ |
| H A D | PlatformNetBSD.cpp | 231 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType() 241 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType() 252 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType() 258 llvm::to_underlying(clang::TagTypeKind::Struct), lldb::eLanguageTypeC); in GetSiginfoType() 275 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CodeView.h | 55 return static_cast<Class>(llvm::to_underlying(a) | \ 56 llvm::to_underlying(b)); \ 59 return static_cast<Class>(llvm::to_underlying(a) & \ 60 llvm::to_underlying(b)); \ 63 return static_cast<Class>(~llvm::to_underlying(a)); \
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCall.h | 410 return static_cast<FnInfoOpts>(llvm::to_underlying(A) | 411 llvm::to_underlying(B)); 415 return static_cast<FnInfoOpts>(llvm::to_underlying(A) & 416 llvm::to_underlying(B));
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/ |
| H A D | PlatformFreeBSD.cpp | 209 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType() 220 llvm::to_underlying(clang::TagTypeKind::Struct), lldb::eLanguageTypeC); in GetSiginfoType() 242 llvm::to_underlying(clang::TagTypeKind::Union), lldb::eLanguageTypeC); in GetSiginfoType()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/modules/std/ |
| H A D | utility.inc | 43 // [utility.underlying], to_underlying 44 using std::to_underlying;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 130 auto U = llvm::to_underlying(Val); 192 uint64_t{llvm::to_underlying(E::LLVM_BITMASK_LARGEST_ENUMERATOR)});
|
| H A D | STLForwardCompat.h | 66 [[nodiscard]] constexpr std::underlying_type_t<Enum> to_underlying(Enum E) { in to_underlying() function
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__utility/ |
| H A D | to_underlying.h | 31 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr underlying_type_t<_Tp> to_underlying(_Tp __va… in to_underlying() function
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/RegisterTypeBuilder/ |
| H A D | RegisterTypeBuilderClang.cpp | 63 register_type_name, llvm::to_underlying(clang::TagTypeKind::Struct), in GetRegisterType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SwapByteOrder.h | 57 return static_cast<T>(llvm::byteswap(llvm::to_underlying(C))); in getSwappedBytes()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ODRHash.cpp | 387 ID.AddInteger(llvm::to_underlying(Method->getImplementationControl())); in VisitObjCMethodDecl() 392 ID.AddInteger(llvm::to_underlying(Cmd->getParameterKind())); in VisitObjCMethodDecl() 397 ID.AddInteger(llvm::to_underlying(Self->getParameterKind())); in VisitObjCMethodDecl() 938 ID.AddInteger(llvm::to_underlying(T->getSizeModifier())); in VisitArrayType() 1188 ID.AddInteger(llvm::to_underlying(T->getKeyword())); in VisitTypeWithKeyword() 1229 ID.AddInteger(llvm::to_underlying(T->getVectorKind())); in VisitVectorType()
|
| H A D | Type.cpp | 159 ArrayTypeBits.SizeModifier = llvm::to_underlying(sm); in ArrayType() 221 ID.AddInteger(llvm::to_underlying(SizeMod)); in Profile() 242 ID.AddInteger(llvm::to_underlying(SizeMod)); in Profile() 256 VectorTypeBits.VecKind = llvm::to_underlying(VecKind); in DependentVectorType() 264 ID.AddInteger(llvm::to_underlying(VecKind)); in Profile() 360 VectorTypeBits.VecKind = llvm::to_underlying(vecKind); in VectorType() 3186 ID.AddInteger(llvm::to_underlying(Keyword)); in Profile() 4230 T->TypeBits.CachedLinkage = llvm::to_underlying(Result.getLinkage()); in ensure() 4819 AutoTypeBits.Keyword = llvm::to_underlying(Keyword); in AutoType()
|
| H A D | StmtProfile.cpp | 1333 ID.AddInteger(llvm::to_underlying(S->getIdentKind())); in VisitPredefinedExpr() 1358 ID.AddInteger(llvm::to_underlying(S->getKind())); in VisitCharacterLiteral() 1376 ID.AddInteger(llvm::to_underlying(S->getKind())); in VisitStringLiteral() 2101 ID.AddInteger(llvm::to_underlying(S->getInitializationStyle())); in VisitCXXNewExpr()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCTypeEncodingParser.cpp | 84 llvm::to_underlying(clang::TagTypeKind::Struct)); in BuildStruct() 90 llvm::to_underlying(clang::TagTypeKind::Union)); in BuildUnion()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Comment.h | 230 CommentBits.Kind = llvm::to_underlying(K); 347 InlineCommandCommentBits.RenderKind = llvm::to_underlying(RK); 728 llvm::to_underlying(ParamCommandPassDirection::In); 748 ParamCommandCommentBits.Direction = llvm::to_underlying(Direction);
|
| H A D | DeclBase.h | 400 CacheValidAndLinkage(llvm::to_underlying(Linkage::Invalid)) { in Decl() 409 CacheValidAndLinkage(llvm::to_underlying(Linkage::Invalid)) { in Decl() 423 CacheValidAndLinkage = llvm::to_underlying(L); in setCachedLinkage()
|
| H A D | DeclOpenMP.h | 254 OMPDeclareReductionDeclBits.InitializerKind = llvm::to_underlying(IK); in setInitializer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | FormatUtil.h | 38 return formatv("unknown ({0})", llvm::to_underlying(Value)).str(); in formatUnknownEnum()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | utility | 241 // [utility.underlying], to_underlying 243 constexpr underlying_type_t<T> to_underlying( T value ) noexcept; // C++23 268 #include <__utility/to_underlying.h>
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 52 return llvm::to_underlying(clang::TagTypeKind::Class); in TranslateUdtKind() 54 return llvm::to_underlying(clang::TagTypeKind::Struct); in TranslateUdtKind() 56 return llvm::to_underlying(clang::TagTypeKind::Union); in TranslateUdtKind() 58 return llvm::to_underlying(clang::TagTypeKind::Interface); in TranslateUdtKind() 1392 record_kind == llvm::to_underlying(clang::TagTypeKind::Class)); in AddRecordBases()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | FormatUtil.cpp | 123 return formatv("UNKNOWN RECORD ({0:X})", llvm::to_underlying(K)).str(); in formatTypeLeafKind()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 457 TagDeclBits.addBits(llvm::to_underlying(D->getTagKind()), /*BitWidth=*/3); in VisitTagDecl() 543 RecordDeclBits.addBits(llvm::to_underlying(D->getArgPassingRestrictions()), 2); in VisitRecordDecl() 681 FunctionDeclBits.addBits(llvm::to_underlying(D->getLinkageInternal()), 3); in VisitFunctionDecl() 781 Record.push_back(llvm::to_underlying(D->getImplementationControl())); in VisitObjCMethodDecl() 1073 VarDeclBits.addBits(llvm::to_underlying(D->getLinkageInternal()), in VisitVarDecl() 1114 VarDeclBits.addBits(llvm::to_underlying(IPD->getParameterKind()), in VisitVarDecl() 1309 Record.push_back(llvm::to_underlying(D->getLanguage())); in VisitLinkageSpecDecl() 2049 Record.push_back(llvm::to_underlying(D->getInitializerKind())); in VisitOMPDeclareReductionDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SVals.h | 96 ID.AddInteger(llvm::to_underlying(getKind())); in Profile()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/ |
| H A D | SymbolFileCTF.cpp | 508 llvm::to_underlying(tag_kind), eLanguageTypeC); in CreateRecord() 565 llvm::to_underlying(clang::TagTypeKind::Struct), eLanguageTypeC); in CreateForward()
|