Lines Matching defs:ClassDecl
3986 Decl *ClassDecl = OCD;
3989 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl)
3990 || isa<ObjCProtocolDecl>(ClassDecl);
3991 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl);
4066 if (isa<ObjCInterfaceDecl>(ClassDecl)) {
4068 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
4081 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) {
4090 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) {
4179 dyn_cast<ObjCCategoryImplDecl>(ClassDecl)) {
4190 } else if (const auto *IntfDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) {
4224 SemaRef.ActOnDocumentableDecl(ClassDecl);
4225 return ClassDecl;
4790 Decl *ClassDecl = cast<ObjCContainerDecl>(SemaRef.CurContext);
4851 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) {
4961 mergeObjCDirectMembers(SemaRef, ClassDecl, ObjCMethod);
4982 if (!isa<ObjCProtocolDecl>(ClassDecl)) {
4983 mergeObjCDirectMembers(SemaRef, ClassDecl, ObjCMethod);
4985 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl);
4987 IDecl = cast<ObjCCategoryDecl>(ClassDecl)->getClassInterface();
4995 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod);
5010 ObjCInterfaceDecl *CurrentClass = dyn_cast<ObjCInterfaceDecl>(ClassDecl);
5012 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl))
5014 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(ClassDecl))
5017 = dyn_cast<ObjCCategoryImplDecl>(ClassDecl))