/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | JSONNodeDumper.h | 241 void VisitEnumDecl(const EnumDecl *ED);
|
H A D | Decl.h | 2139 void setExplicitlyDefaulted(bool ED = true) { 2140 FunctionDeclBits.IsExplicitlyDefaulted = ED; 3543 void setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED, 3756 /// member enumeration ED. 3757 void setInstantiationOfMemberEnum(EnumDecl *ED, 3759 setInstantiationOfMemberEnum(getASTContext(), ED, TSK); 4553 inline bool IsEnumDeclComplete(EnumDecl *ED) { 4554 return ED->isComplete(); 4561 inline bool IsEnumDeclScoped(EnumDecl *ED) { 4562 return ED [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 1640 } else if (const auto *ED = dyn_cast<EnumDecl>(DC)) { 1648 if (ED->isScoped()) 1649 OS << *ED; local 4323 EnumDecl *ED = getInstantiatedFromMemberEnum(); 4324 while (auto *NewED = ED->getInstantiatedFromMemberEnum()) 4325 ED = NewED; 4326 return getDefinitionOrSelf(ED); 4342 void EnumDecl::setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED, 4345 SpecializationInfo = new (C) MemberSpecializationInfo(ED, TSK);
|
H A D | ItaniumMangle.cpp | 3737 const EnumConstantDecl *ED = cast<EnumConstantDecl>(D); local 3738 mangleIntegerLiteral(ED->getType(), ED->getInitVal());
|
H A D | ASTContext.cpp | 140 if (const auto *ED = dyn_cast<EnumDecl>(D)) { 141 if (ED->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) 366 if (const auto *ED = dyn_cast<EnumDecl>(&D)) { 368 if (const EnumDecl *MemberDecl = ED->getInstantiatedFromMemberEnum()) 2222 const EnumDecl *ED = ET->getDecl(); local 2224 getTypeInfo(ED->getIntegerType()->getUnqualifiedDesugaredType()); 2225 if (unsigned AttrAlign = ED->getMaxAlignment()) {
|
H A D | MicrosoftMangle.cpp | 981 auto *ED = cast<EnumDecl>(TD); local 983 Name += ED->enumerator_begin()->getName();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | USRGeneration.cpp | 558 if (auto *ED = dyn_cast<EnumDecl>(D)) { 560 auto enum_range = ED->enumerators();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 2327 auto *ED = cast<EnumConstantDecl>(D); local 2328 assert(EnumScope->isDeclScope(ED)); 2329 EnumScope->RemoveDecl(ED); 2330 IdResolver.RemoveDecl(ED); 2331 ED->getLexicalDeclContext()->removeDecl(ED); 14017 if (auto *ED = dyn_cast<EnumDecl>(NonParmDecl)) { 14018 for (auto *EI : ED->enumerators()) 15363 EnumDecl *ED = cast<EnumDecl>(New); 15365 ED 15974 EnumDecl *ED = cast<EnumDecl>(New); local 17868 IsValueInFlagEnum(const EnumDecl *ED, const llvm::APInt &Val, bool AllowMask) const argument [all...] |
H A D | SemaType.cpp | 8312 } else if (auto *ED = dyn_cast<EnumDecl>(D)) { 8313 if (auto *Pattern = ED->getTemplateInstantiationPattern()) 8314 ED = Pattern; 8315 if (OnlyNeedComplete && (ED->isFixed() || getLangOpts().MSVCCompat)) { 8322 for (auto *Redecl : ED->redecls()) { 8331 D = ED->getDefinition(); 8850 EnumDecl *ED = BaseType->getAs<EnumType>()->getDecl(); local 8851 assert(ED && "EnumType has no EnumDecl"); 8853 DiagnoseUseOfDecl(ED, Loc); 8855 Underlying = ED [all...] |
H A D | SemaChecking.cpp | 5635 const EnumDecl *ED = Type->castAs<EnumType>()->getDecl(); 5636 return !(ED && 5637 Context.typesAreCompatible(ED->getPromotionType(), Type)); 10721 const EnumConstantDecl *ED = nullptr; local 10723 ED = dyn_cast<EnumConstantDecl>(DR->getDecl()); 10728 if (ED) { 10729 OS << '\'' << *ED << "' (" << Value << ")"; 10942 EnumDecl *ED = EnumTy->getDecl(); local 10948 bool SignedEnum = ED->getNumNegativeBits() > 0; 10959 ED 10964 S.Diag(InitLoc, DiagID) << Bitfield << ED; local 10983 << Bitfield << ED; local [all...] |
H A D | SemaDeclAttr.cpp | 3884 if (const auto *ED = dyn_cast<EnumDecl>(D)) 3885 UnderlyingTy = ED->getIntegerType(); 4075 else if (const auto *ED = dyn_cast<EnumDecl>(D)) { 4078 OldTy = ED->getIntegerType(); 4163 else if (auto *ED = dyn_cast<EnumDecl>(D)) 4164 ED->setIntegerType(NewTy);
|
H A D | SemaTemplateInstantiate.cpp | 562 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(D)) { 565 << ED
|
H A D | SemaDeclCXX.cpp | 12120 if (auto *ED = R.getAsSingle<EnumConstantDecl>()) { 12121 if (cast<EnumDecl>(ED->getDeclContext())->isScoped()) { 15758 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); 15761 ProcessDeclAttributeList(S, ED, AttrList); 15763 CurContext->addDecl(ED); 15764 return ED;
|
H A D | SemaTemplateInstantiateDecl.cpp | 6021 } else if (EnumConstantDecl *ED = dyn_cast<EnumConstantDecl>(D)) { 6025 EnumDecl *Enum = cast<EnumDecl>(ED->getLexicalDeclContext());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | CompilerInstance.cpp | 1964 unsigned ED = Name.edit_distance((*J)->Name, local 1967 if (ED <= BestEditDistance) { 1968 if (ED < BestEditDistance) { 1970 BestEditDistance = ED;
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | llvm-pdbutil.cpp | 1137 EnumDumper ED(Printer); 1140 ED.start(*E); 1171 ExternalSymbolDumper ED(Printer); 1174 ED.dump(*PS);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegisterCoalescer.cpp | 3218 SlotIndex ED, LE; local 3224 ED = ED.isValid() ? std::min(ED, I->start) : I->start; 3230 if (ED.isValid()) 3231 NewEnd = std::min(NewEnd, ED);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 3620 if (EnumDecl *ED = dyn_cast<EnumDecl>(Tag)) { 3621 if (!ED || !ED->getDeclName().getAsIdentifierInfo()) 3624 TagLocation = ED->getLocation(); 3668 EnumDecl *ED = Type->castAs<EnumType>()->getDecl(); local 3669 if (ED->isCompleteDefinition()) { 3671 Result += ED->getName(); 3672 if (GlobalDefinedTags.count(ED)) { 3679 for (const auto *EC : ED->enumerators()) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 96 MacroDirective *ED, 119 ED->setPrevious(OldMD); 95 setLoadedMacroDirective(IdentifierInfo *II, MacroDirective *ED, MacroDirective *MD) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 515 void completeType(const EnumDecl *ED);
|
H A D | CGExpr.cpp | 1595 const EnumDecl *ED = ET->getDecl(); local 1596 llvm::Type *LTy = CGF.ConvertTypeForMem(ED->getIntegerType()); 1598 unsigned NumNegativeBits = ED->getNumNegativeBits(); 1599 unsigned NumPositiveBits = ED->getNumPositiveBits();
|
H A D | TargetInfo.cpp | 10035 if (const EnumDecl *ED = ET->getDecl()->getDefinition()) { 10037 for (auto I = ED->enumerator_begin(), E = ED->enumerator_end(); I != E;
|
/freebsd-13-stable/sys/dev/kbd/ |
H A D | kbd.c | 1150 (s) ^= l ## ED; \
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Preprocessor.h | 1139 void setLoadedMacroDirective(IdentifierInfo *II, MacroDirective *ED,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 2520 if (const auto *ED = dyn_cast<EnumConstantDecl>(D)) { 2522 SVal V = svalBuilder.makeIntVal(ED->getInitVal());
|