Searched refs:EnumDecl (Results 26 - 50 of 70) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2178 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 DTypeSystemClang.h1007 static clang::EnumDecl *GetAsEnumDecl(const CompilerType &type);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp329 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 DType.h112 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 DDeclBase.h1399 /// Stores the bits used by EnumDecl.
1401 /// methods in EnumDecl should be updated appropriately.
1403 friend class EnumDecl;
H A DTypeLoc.h730 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp70 if (isa<EnumDecl>(DC))
71 DC = cast<EnumDecl>(DC)->getDeclContext();
H A DSemaAvailability.cpp92 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 DSemaTemplate.cpp2996 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 DSemaLookup.cpp1469 } else if (EnumDecl *ED = dyn_cast<EnumDecl>(Entity)) {
2814 EnumDecl *Enum = cast<EnumType>(T)->getDecl();
H A DSemaStmt.cpp804 const EnumDecl *ED,
1150 const EnumDecl *ED = ET->getDecl();
1291 const EnumDecl *ED = ET->getDecl();
H A DSemaCodeComplete.cpp895 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 DDeclPrinter.cpp64 void VisitEnumDecl(EnumDecl *D);
518 void DeclPrinter::VisitEnumDecl(EnumDecl *D) {
H A DMicrosoftMangle.cpp977 } 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 DODRHash.cpp454 case Decl::EnumConstant: // Only found in EnumDecl's.
602 void ODRHash::AddEnumDecl(const EnumDecl *Enum) {
H A DASTContext.cpp140 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 DDeclBase.cpp1174 return !cast<EnumDecl>(this)->isScoped();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h515 void completeType(const EnumDecl *ED);
H A DCGDebugInfo.cpp939 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 DSema.h1268 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 DASTUnit.cpp327 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 DASTMatchers.h1221 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 DPDBASTParser.cpp474 CompilerType ast_enum = m_ast.GetTypeForIdentifier<clang::EnumDecl>(
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp752 const internal::VariadicDynCastAllOfMatcher<Decl, EnumDecl> enumDecl;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp4645 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

Completed in 535 milliseconds

123