Home
last modified time | relevance | path

Searched refs:EnumConst (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp703 EnumConstantDecl *EnumConst in InstantiateEnumDefinition() local
709 if (EnumConst) in InstantiateEnumDefinition()
710 EnumConst->setInvalidDecl(); in InstantiateEnumDefinition()
714 if (EnumConst) { in InstantiateEnumDefinition()
715 SemaRef.InstantiateAttrs(TemplateArgs, *EC, EnumConst); in InstantiateEnumDefinition()
717 EnumConst->setAccess(Enum->getAccess()); in InstantiateEnumDefinition()
718 Enum->addDecl(EnumConst); in InstantiateEnumDefinition()
719 Enumerators.push_back(EnumConst); in InstantiateEnumDefinition()
720 LastEnumConst = EnumConst; in InstantiateEnumDefinition()
726 SemaRef.CurrentInstantiationScope->InstantiatedLocal(*EC, EnumConst); in InstantiateEnumDefinition()