Lines Matching refs:EnumDecl

59 class EnumDecl;  variable
378 if (isa<EnumDecl>(DC)) in isCXXClassMember()
3282 static EnumConstantDecl *Create(ASTContext &C, EnumDecl *DC,
3840 class EnumDecl : public TagDecl {
3876 EnumDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
3877 SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl,
3882 void setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
3921 EnumDecl *getCanonicalDecl() override { in getCanonicalDecl()
3922 return cast<EnumDecl>(TagDecl::getCanonicalDecl()); in getCanonicalDecl()
3924 const EnumDecl *getCanonicalDecl() const { in getCanonicalDecl()
3925 return const_cast<EnumDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl()
3928 EnumDecl *getPreviousDecl() { in getPreviousDecl()
3929 return cast_or_null<EnumDecl>( in getPreviousDecl()
3932 const EnumDecl *getPreviousDecl() const { in getPreviousDecl()
3933 return const_cast<EnumDecl*>(this)->getPreviousDecl(); in getPreviousDecl()
3936 EnumDecl *getMostRecentDecl() { in getMostRecentDecl()
3937 return cast<EnumDecl>(static_cast<TagDecl *>(this)->getMostRecentDecl()); in getMostRecentDecl()
3939 const EnumDecl *getMostRecentDecl() const { in getMostRecentDecl()
3940 return const_cast<EnumDecl*>(this)->getMostRecentDecl(); in getMostRecentDecl()
3943 EnumDecl *getDefinition() const { in getDefinition()
3944 return cast_or_null<EnumDecl>(TagDecl::getDefinition()); in getDefinition()
3947 static EnumDecl *Create(ASTContext &C, DeclContext *DC,
3949 IdentifierInfo *Id, EnumDecl *PrevDecl,
3952 static EnumDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
3978 const EnumDecl *E = getDefinition(); in enumerator_begin()
3985 const EnumDecl *E = getDefinition(); in enumerator_end()
4079 EnumDecl *getTemplateInstantiationPattern() const;
4084 EnumDecl *getInstantiatedFromMemberEnum() const;
4105 void setInstantiationOfMemberEnum(EnumDecl *ED, in setInstantiationOfMemberEnum()
5012 inline bool IsEnumDeclComplete(EnumDecl *ED) { in IsEnumDeclComplete()
5020 inline bool IsEnumDeclScoped(EnumDecl *ED) { in IsEnumDeclScoped()