Lines Matching defs:CDecl
1078 ObjCInterfaceDecl *CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDeclU);
1079 if (!CDecl) {
1088 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
1713 ObjCCategoryDecl *CDecl;
1725 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc,
1728 CDecl->setInvalidDecl();
1729 CurContext->addDecl(CDecl);
1733 return ActOnObjCContainerStartDefinition(CDecl);
1772 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc,
1776 CurContext->addDecl(CDecl);
1779 diagnoseUseOfProtocols(*this, CDecl, (ObjCProtocolDecl*const*)ProtoRefs,
1781 CDecl->setProtocolList((ObjCProtocolDecl*const*)ProtoRefs, NumProtoRefs,
1784 if (CDecl->IsClassExtension())
1789 CheckObjCDeclScope(CDecl);
1790 return ActOnObjCContainerStartDefinition(CDecl);
1815 ObjCCategoryImplDecl *CDecl =
1821 CDecl->setInvalidDecl();
1824 CDecl->setInvalidDecl();
1828 CurContext->addDecl(CDecl);
1841 CDecl->setInvalidDecl();
1843 CatIDecl->setImplementation(CDecl);
1848 CDecl->getLocation(), 2);
1852 CheckObjCDeclScope(CDecl);
1853 return ActOnObjCContainerStartDefinition(CDecl);
2031 for (const auto *CDecl : IDecl->visible_extensions()) {
2033 CDecl->getIvarDecl(ImplIvar->getIdentifier())) {
2570 ObjCContainerDecl *CDecl,
2572 ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl);
2574 : dyn_cast<ObjCInterfaceDecl>(CDecl);
2690 CDecl, ProtocolsExplictImpl);
2701 ObjCContainerDecl* CDecl,
2707 for (auto *I : CDecl->instance_methods()) {
2719 assert(CDecl->getInstanceMethod(I->getSelector()) &&
2725 isa<ObjCProtocolDecl>(CDecl));
2727 WarnExactTypedMethods(ImpMethodDecl, I, isa<ObjCProtocolDecl>(CDecl));
2734 for (auto *I : CDecl->class_methods()) {
2744 assert(CDecl->getClassMethod(I->getSelector()) &&
2748 isa<ObjCProtocolDecl>(CDecl));
2751 isa<ObjCProtocolDecl>(CDecl));
2755 if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl> (CDecl)) {
2764 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) {
2840 ObjCContainerDecl* CDecl,
2865 if (const ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
2869 DiagnoseUnimplementedProperties(S, IMPDecl, CDecl, SynthesizeProperties);
2883 IMPDecl, CDecl,
2899 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) {
2903 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(CDecl)) {
2909 IncompleteImpl, InsMap, ClsMap, CDecl,
2911 DiagnoseUnimplementedProperties(S, IMPDecl, CDecl,
3635 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) {
3636 if (CDecl->getIdentifier())
3640 for (auto *I : CDecl->properties())
3642 CDecl->setAtEndRange(AtEnd);