/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.cpp | 2178 EnumDecl *enum_decl = EnumDecl::CreateDeserialized(ast, 0); 5358 const clang::EnumDecl *enum_decl = enum_type->getDecl(); 5362 clang::EnumDecl::enumerator_iterator enum_pos, enum_end_pos; 7024 clang::EnumDecl *TypeSystemClang::GetAsEnumDecl(const CompilerType &type) { 7328 const EnumDecl *enum_decl = enum_type->getDecl(); 7968 clang::EnumDecl *enum_decl = 8071 clang::EnumDecl *enum_decl = enutype->getDecl(); 8416 const clang::EnumDecl *enum_decl = enutype->getDecl(); 8418 clang::EnumDecl [all...] |
H A D | TypeSystemClang.h | 1007 static clang::EnumDecl *GetAsEnumDecl(const CompilerType &type);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 329 void VisitEnumDecl(EnumDecl *ED); 737 void ASTDeclReader::VisitEnumDecl(EnumDecl *ED) { 758 EnumDecl *&OldDef = Reader.EnumDefinitions[ED->getCanonicalDecl()]; 780 if (auto *InstED = readDeclAs<EnumDecl>()) { 3301 if (auto *ED = dyn_cast<EnumDecl>(DC)) 3797 D = EnumDecl::CreateDeserialized(Context, ID);
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Type.h | 112 class EnumDecl; 4642 explicit EnumType(const EnumDecl *D) 4646 EnumDecl *getDecl() const { 4647 return reinterpret_cast<EnumDecl*>(TagType::getDecl()); 6955 bool IsEnumDeclComplete(EnumDecl *); 6956 bool IsEnumDeclScoped(EnumDecl *);
|
H A D | DeclBase.h | 1399 /// Stores the bits used by EnumDecl. 1401 /// methods in EnumDecl should be updated appropriately. 1403 friend class EnumDecl;
|
H A D | TypeLoc.h | 730 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); }
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 70 if (isa<EnumDecl>(DC)) 71 DC = cast<EnumDecl>(DC)->getDeclContext();
|
H A D | SemaAvailability.cpp | 92 if (const auto *TheEnumDecl = dyn_cast<EnumDecl>(DC)) { 307 /// may not be the same as ReferringDecl, i.e. if an EnumDecl is annotated and 309 /// and OffendingDecl is the EnumDecl.
|
H A D | SemaTemplate.cpp | 2996 EnumDecl *Enum = EnumT->getDecl(); 7869 else if (isa<EnumDecl>(Specialized) && S.getLangOpts().CPlusPlus11) 9071 } else if (isa<EnumDecl>(Member)) { 9072 EnumDecl *PrevEnum; 9074 (PrevEnum = dyn_cast<EnumDecl>(Previous.getFoundDecl()))) { 9168 } else if (auto *MemberEnum = dyn_cast<EnumDecl>(Member)) { 9170 cast<EnumDecl>(InstantiatedFrom), TSK_ExplicitSpecialization); 9213 else if (auto *Enum = dyn_cast<EnumDecl>(Instantiation)) 10826 if (auto *ED = dyn_cast<EnumDecl>(ND)) 10910 void checkInstantiated(EnumDecl *F [all...] |
H A D | SemaLookup.cpp | 1469 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) { 2814 EnumDecl *Enum = cast<EnumType>(T)->getDecl();
|
H A D | SemaStmt.cpp | 804 const EnumDecl *ED, 1150 const EnumDecl *ED = ET->getDecl(); 1291 const EnumDecl *ED = ET->getDecl();
|
H A D | SemaCodeComplete.cpp | 895 T = C.getTypeDeclType(cast<EnumDecl>(Enumerator->getDeclContext())); 1446 return isa<EnumDecl>(ND); 4299 EnumDecl *Enum, DeclContext *CurContext, 4433 EnumDecl *Enum = Data.PreferredType->castAs<EnumType>()->getDecl(); 5433 EnumDecl *Enum = type->castAs<EnumType>()->getDecl(); 5434 if (EnumDecl *Def = Enum->getDefinition())
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 64 void VisitEnumDecl(EnumDecl *D); 518 void DeclPrinter::VisitEnumDecl(EnumDecl *D) {
|
H A D | MicrosoftMangle.cpp | 977 } else if (isa<EnumDecl>(TD) && 978 cast<EnumDecl>(TD)->enumerator_begin() != 979 cast<EnumDecl>(TD)->enumerator_end()) { 981 auto *ED = cast<EnumDecl>(TD);
|
H A D | ODRHash.cpp | 454 case Decl::EnumConstant: // Only found in EnumDecl's. 602 void ODRHash::AddEnumDecl(const EnumDecl *Enum) {
|
H A D | ASTContext.cpp | 140 if (const auto *ED = dyn_cast<EnumDecl>(D)) { 366 if (const auto *ED = dyn_cast<EnumDecl>(&D)) { 368 if (const EnumDecl *MemberDecl = ED->getInstantiatedFromMemberEnum()) 2222 const EnumDecl *ED = ET->getDecl(); 4377 } else if (const auto *Enum = dyn_cast<EnumDecl>(Decl)) { 4419 QualType ASTContext::getEnumType(const EnumDecl *Decl) const { 4422 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) 7178 EnumDecl *Enum = ET->getDecl();
|
H A D | DeclBase.cpp | 1174 return !cast<EnumDecl>(this)->isScoped();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 515 void completeType(const EnumDecl *ED);
|
H A D | CGDebugInfo.cpp | 939 return isa<CXXRecordDecl>(TD) || isa<EnumDecl>(TD); 2180 void CGDebugInfo::completeType(const EnumDecl *ED) { 2940 const EnumDecl *ED = Ty->getDecl(); 2984 const EnumDecl *ED = Ty->getDecl(); 4691 const auto *ED = cast<EnumDecl>(ECD->getDeclContext());
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 1268 mutable llvm::DenseMap<const EnumDecl*, llvm::APInt> FlagBitsCache; 2893 EnumConstantDecl *CheckEnumConstant(EnumDecl *Enum, 2901 const EnumDecl *Prev); 2908 Decl *ActOnEnumConstant(Scope *S, Decl *EnumDecl, Decl *LastEnumConstant, 2913 Decl *EnumDecl, ArrayRef<Decl *> Elements, Scope *S, 5319 EnumDecl *getStdAlignValT() const; 9044 EnumDecl *Instantiation, EnumDecl *Pattern, 11138 bool IsValueInFlagEnum(const EnumDecl *ED, const llvm::APInt &Val,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 327 if (isa<EnumDecl>(ND)) { 907 if (const auto *EnumD = dyn_cast<EnumDecl>(D)) {
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 1221 extern const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl; 7047 AST_MATCHER(EnumDecl, isScoped) {
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | PDBASTParser.cpp | 474 CompilerType ast_enum = m_ast.GetTypeForIdentifier<clang::EnumDecl>(
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/ |
H A D | ASTMatchersInternal.cpp | 752 const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 4645 void Parser::ParseEnumBody(SourceLocation StartLoc, Decl *EnumDecl) { argument 4648 Actions.ActOnTagStartDefinition(getCurScope(), EnumDecl); local 4701 // Install the enumerator constant into EnumDecl. 4703 getCurScope(), EnumDecl, LastEnumConstDecl, IdentLoc, Ident, attrs, 4756 Actions.ActOnEnumBody(StartLoc, T.getRange(), EnumDecl, EnumConstantDecls, 4768 Actions.ActOnTagFinishDefinition(getCurScope(), EnumDecl, T.getRange()); local
|