Searched refs:ED (Results 26 - 50 of 56) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp1653 } else if (const auto *ED = dyn_cast<EnumDecl>(DC)) {
1661 if (ED->isScoped())
1662 OS << *ED; local
4326 EnumDecl *ED = getInstantiatedFromMemberEnum(); local
4327 while (auto *NewED = ED->getInstantiatedFromMemberEnum())
4328 ED = NewED;
4329 return getDefinitionOrSelf(ED);
4345 void EnumDecl::setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED, argument
4348 SpecializationInfo = new (C) MemberSpecializationInfo(ED, TSK);
H A DItaniumMangle.cpp3577 const EnumConstantDecl *ED = cast<EnumConstantDecl>(D); local
3578 mangleIntegerLiteral(ED->getType(), ED->getInitVal());
H A DASTContext.cpp163 if (const auto *ED = dyn_cast<EnumDecl>(D)) {
164 if (ED->getTemplateSpecializationKind() == TSK_ImplicitInstantiation)
383 if (const auto *ED = dyn_cast<EnumDecl>(&D)) {
385 if (const EnumDecl *MemberDecl = ED->getInstantiatedFromMemberEnum())
2234 const EnumDecl *ED = ET->getDecl(); local
2236 getTypeInfo(ED->getIntegerType()->getUnqualifiedDesugaredType());
2237 if (unsigned AttrAlign = ED->getMaxAlignment()) {
H A DMicrosoftMangle.cpp969 auto *ED = cast<EnumDecl>(TD); local
971 Name += ED->enumerator_begin()->getName();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DJSONNodeDumper.h237 void VisitEnumDecl(const EnumDecl *ED);
H A DDecl.h2141 void setExplicitlyDefaulted(bool ED = true) {
2142 FunctionDeclBits.IsExplicitlyDefaulted = ED;
3523 void setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
3734 /// member enumeration ED.
3735 void setInstantiationOfMemberEnum(EnumDecl *ED,
3737 setInstantiationOfMemberEnum(getASTContext(), ED, TSK);
4511 inline bool IsEnumDeclComplete(EnumDecl *ED) {
4512 return ED->isComplete();
4519 inline bool IsEnumDeclScoped(EnumDecl *ED) {
4520 return ED
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp557 if (auto *ED = dyn_cast<EnumDecl>(D)) {
559 auto enum_range = ED->enumerators();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp2310 auto *ED = cast<EnumConstantDecl>(D); local
2311 assert(EnumScope->isDeclScope(ED));
2312 EnumScope->RemoveDecl(ED);
2313 IdResolver.RemoveDecl(ED);
2314 ED->getLexicalDeclContext()->removeDecl(ED);
13744 if (auto *ED = dyn_cast<EnumDecl>(NonParmDecl)) {
13745 for (auto *EI : ED->enumerators())
14973 EnumDecl *ED = cast<EnumDecl>(New);
14975 ED
15592 EnumDecl *ED = cast<EnumDecl>(New); local
17469 IsValueInFlagEnum(const EnumDecl *ED, const llvm::APInt &Val, bool AllowMask) const argument
[all...]
H A DSemaType.cpp7972 } else if (auto *ED = dyn_cast<EnumDecl>(D)) {
7973 if (auto *Pattern = ED->getTemplateInstantiationPattern())
7974 ED = Pattern;
7975 if (OnlyNeedComplete && ED->isFixed()) {
7980 for (auto *Redecl : ED->redecls()) {
7989 D = ED->getDefinition();
8505 EnumDecl *ED = BaseType->getAs<EnumType>()->getDecl(); local
8506 assert(ED && "EnumType has no EnumDecl");
8508 DiagnoseUseOfDecl(ED, Loc);
8510 Underlying = ED
[all...]
H A DSemaChecking.cpp5768 const EnumDecl *ED = Type->castAs<EnumType>()->getDecl();
5769 return !(ED &&
5770 Context.typesAreCompatible(ED->getPromotionType(), Type));
10840 const EnumConstantDecl *ED = nullptr; local
10842 ED = dyn_cast<EnumConstantDecl>(DR->getDecl());
10847 if (ED) {
10848 OS << '\'' << *ED << "' (" << Value << ")";
11061 EnumDecl *ED = EnumTy->getDecl(); local
11067 bool SignedEnum = ED->getNumNegativeBits() > 0;
11078 ED
11083 S.Diag(InitLoc, DiagID) << Bitfield << ED; local
11102 << Bitfield << ED; local
[all...]
H A DSemaDeclAttr.cpp3857 if (const auto *ED = dyn_cast<EnumDecl>(D))
3858 UnderlyingTy = ED->getIntegerType();
4036 else if (const auto *ED = dyn_cast<EnumDecl>(D)) {
4039 OldTy = ED->getIntegerType();
4123 else if (auto *ED = dyn_cast<EnumDecl>(D))
4124 ED->setIntegerType(NewTy);
H A DSemaTemplateInstantiate.cpp559 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(D)) {
562 << ED
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1945 unsigned ED = Name.edit_distance((*J)->Name, local
1948 if (ED <= BestEditDistance) {
1949 if (ED < BestEditDistance) {
1951 BestEditDistance = ED;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1133 EnumDumper ED(Printer);
1136 ED.start(*E);
1167 ExternalSymbolDumper ED(Printer);
1170 ED.dump(*PS);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp3198 SlotIndex ED, LE; local
3204 ED = ED.isValid() ? std::min(ED, I->start) : I->start;
3210 if (ED.isValid())
3211 NewEnd = std::min(NewEnd, ED);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3618 if (EnumDecl *ED = dyn_cast<EnumDecl>(Tag)) {
3619 if (!ED || !ED->getDeclName().getAsIdentifierInfo())
3622 TagLocation = ED->getLocation();
3666 EnumDecl *ED = Type->castAs<EnumType>()->getDecl(); local
3667 if (ED->isCompleteDefinition()) {
3669 Result += ED->getName();
3670 if (GlobalDefinedTags.count(ED)) {
3677 for (const auto *EC : ED->enumerators()) {
/freebsd-11-stable/contrib/tcsh/
H A DMakefile.std260 ED= ed
H A DMakefile.vms242 ED= ed
H A DMakefile.in342 ED= ed
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp96 MacroDirective *ED,
119 ED->setPrevious(OldMD);
95 setLoadedMacroDirective(IdentifierInfo *II, MacroDirective *ED, MacroDirective *MD) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h512 void completeType(const EnumDecl *ED);
H A DCGExpr.cpp1560 const EnumDecl *ED = ET->getDecl(); local
1561 llvm::Type *LTy = CGF.ConvertTypeForMem(ED->getIntegerType());
1563 unsigned NumNegativeBits = ED->getNumNegativeBits();
1564 unsigned NumPositiveBits = ED->getNumPositiveBits();
/freebsd-11-stable/sys/dev/kbd/
H A Dkbd.c1177 (s) ^= l ## ED; \
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h1118 void setLoadedMacroDirective(IdentifierInfo *II, MacroDirective *ED,
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2488 if (const auto *ED = dyn_cast<EnumConstantDecl>(D)) {
2490 SVal V = svalBuilder.makeIntVal(ED->getInitVal());

Completed in 710 milliseconds

123