Lines Matching refs:CurrentClass

148     ObjCInterfaceDecl *CurrentClass  in CheckObjCMethodOverride()  local
150 if (!CurrentClass) { in CheckObjCMethodOverride()
153 CurrentClass = Cat->getClassInterface(); in CheckObjCMethodOverride()
155 CurrentClass = Impl->getClassInterface(); in CheckObjCMethodOverride()
158 CurrentClass = CatImpl->getClassInterface(); in CheckObjCMethodOverride()
161 if (CurrentClass) { in CheckObjCMethodOverride()
164 << Context.getObjCInterfaceType(CurrentClass) in CheckObjCMethodOverride()
4242 ObjCInterfaceDecl *CurrentClass) { in CheckRelatedResultTypeCompatibility() argument
4255 if (CurrentClass) { in CheckRelatedResultTypeCompatibility()
4259 if (declaresSameEntity(CurrentClass, ResultClass)) in CheckRelatedResultTypeCompatibility()
4263 if (ResultClass->isSuperClassOf(CurrentClass)) in CheckRelatedResultTypeCompatibility()
4439 ObjCInterfaceDecl *CurrentClass, in CheckObjCMethodOverrides() argument
4443 auto IsMethodInCurrentClass = [CurrentClass](const ObjCMethodDecl *M) { in CheckObjCMethodOverrides()
4446 CurrentClass->getCanonicalDecl(); in CheckObjCMethodOverrides()
4513 if (CurrentClass && overridden->getDeclContext() != CurrentClass && in CheckObjCMethodOverrides()
5002 ObjCInterfaceDecl *CurrentClass = dyn_cast<ObjCInterfaceDecl>(ClassDecl); in ActOnMethodDeclaration() local
5003 if (!CurrentClass) { in ActOnMethodDeclaration()
5005 CurrentClass = Cat->getClassInterface(); in ActOnMethodDeclaration()
5007 CurrentClass = Impl->getClassInterface(); in ActOnMethodDeclaration()
5010 CurrentClass = CatImpl->getClassInterface(); in ActOnMethodDeclaration()
5014 = CheckRelatedResultTypeCompatibility(*this, ObjCMethod, CurrentClass); in ActOnMethodDeclaration()
5016 CheckObjCMethodOverrides(ObjCMethod, CurrentClass, RTC); in ActOnMethodDeclaration()