Lines Matching refs:ClassDecl

3993   Decl *ClassDecl = OCD;  in ActOnAtEnd()  local
3996 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl) in ActOnAtEnd()
3997 || isa<ObjCProtocolDecl>(ClassDecl); in ActOnAtEnd()
3998 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); in ActOnAtEnd()
4073 if (isa<ObjCInterfaceDecl>(ClassDecl)) { in ActOnAtEnd()
4075 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnAtEnd()
4088 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
4097 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) { in ActOnAtEnd()
4186 dyn_cast<ObjCCategoryImplDecl>(ClassDecl)) { in ActOnAtEnd()
4197 } else if (const auto *IntfDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnAtEnd()
4231 SemaRef.ActOnDocumentableDecl(ClassDecl); in ActOnAtEnd()
4232 return ClassDecl; in ActOnAtEnd()
4745 Decl *ClassDecl = cast<ObjCContainerDecl>(SemaRef.CurContext); in ActOnMethodDeclaration() local
4856 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) { in ActOnMethodDeclaration()
4966 mergeObjCDirectMembers(SemaRef, ClassDecl, ObjCMethod); in ActOnMethodDeclaration()
4987 if (!isa<ObjCProtocolDecl>(ClassDecl)) { in ActOnMethodDeclaration()
4988 mergeObjCDirectMembers(SemaRef, ClassDecl, ObjCMethod); in ActOnMethodDeclaration()
4990 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl); in ActOnMethodDeclaration()
4992 IDecl = cast<ObjCCategoryDecl>(ClassDecl)->getClassInterface(); in ActOnMethodDeclaration()
5000 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod); in ActOnMethodDeclaration()
5015 ObjCInterfaceDecl *CurrentClass = dyn_cast<ObjCInterfaceDecl>(ClassDecl); in ActOnMethodDeclaration()
5017 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) in ActOnMethodDeclaration()
5019 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(ClassDecl)) in ActOnMethodDeclaration()
5022 = dyn_cast<ObjCCategoryImplDecl>(ClassDecl)) in ActOnMethodDeclaration()