Searched refs:TheEnumDecl (Results 1 – 2 of 2) sorted by relevance
13430 EnumDecl *TheEnumDecl = cast<EnumDecl>(theEnumDecl); in ActOnEnumConstant() local13471 TheEnumDecl->getDeclContext()->getRedeclContext())) in ActOnEnumConstant()13472 if (!TheEnumDecl->isScoped() && in ActOnEnumConstant()13477 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()13484 New->setAccess(TheEnumDecl->getAccess()); in ActOnEnumConstant()
117 if (const EnumDecl *TheEnumDecl = dyn_cast<EnumDecl>(DC)) in DiagnoseAvailabilityOfDecl() local118 Result = TheEnumDecl->getAvailability(&Message); in DiagnoseAvailabilityOfDecl()