Searched refs:EnumConst (Results 1 – 2 of 2) sorted by relevance
993 EnumConstantDecl *EnumConst in InstantiateEnumDefinition() local999 if (EnumConst) in InstantiateEnumDefinition()1000 EnumConst->setInvalidDecl(); in InstantiateEnumDefinition()1004 if (EnumConst) { in InstantiateEnumDefinition()1005 SemaRef.InstantiateAttrs(TemplateArgs, EC, EnumConst); in InstantiateEnumDefinition()1007 EnumConst->setAccess(Enum->getAccess()); in InstantiateEnumDefinition()1008 Enum->addDecl(EnumConst); in InstantiateEnumDefinition()1009 Enumerators.push_back(EnumConst); in InstantiateEnumDefinition()1010 LastEnumConst = EnumConst; in InstantiateEnumDefinition()1016 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition()
6967 if (const EnumConstantDecl *EnumConst = dyn_cast<EnumConstantDecl>(D)) in getCursorAvailabilityForDecl() local6969 cast<Decl>(EnumConst->getDeclContext())); in getCursorAvailabilityForDecl()7058 if (const EnumConstantDecl *EnumConst = dyn_cast<EnumConstantDecl>(D)) in getCursorPlatformAvailabilityForDecl() local7060 cast<Decl>(EnumConst->getDeclContext()), in getCursorPlatformAvailabilityForDecl()