Home | History | Annotate | Download | only in AST

Lines Matching refs:EnumDecl

3137 // EnumDecl Implementation
3140 void EnumDecl::anchor() { }
3142 EnumDecl *EnumDecl::Create(ASTContext &C, DeclContext *DC,
3145 EnumDecl *PrevDecl, bool IsScoped,
3147 EnumDecl *Enum = new (C) EnumDecl(DC, StartLoc, IdLoc, Id, PrevDecl,
3154 EnumDecl *EnumDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
3155 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(EnumDecl));
3156 EnumDecl *Enum = new (Mem) EnumDecl(0, SourceLocation(), SourceLocation(),
3162 void EnumDecl::completeDefinition(QualType NewType,
3175 TemplateSpecializationKind EnumDecl::getTemplateSpecializationKind() const {
3182 void EnumDecl::setTemplateSpecializationKind(TemplateSpecializationKind TSK,
3193 EnumDecl *EnumDecl::getInstantiatedFromMemberEnum() const {
3195 return cast<EnumDecl>(SpecializationInfo->getInstantiatedFrom());
3200 void EnumDecl::setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
3461 EnumConstantDecl *EnumConstantDecl::Create(ASTContext &C, EnumDecl *CD,