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()
4226 ObjCInterfaceDecl *CurrentClass) { in CheckRelatedResultTypeCompatibility() argument
4239 if (CurrentClass) { in CheckRelatedResultTypeCompatibility()
4243 if (declaresSameEntity(CurrentClass, ResultClass)) in CheckRelatedResultTypeCompatibility()
4247 if (ResultClass->isSuperClassOf(CurrentClass)) in CheckRelatedResultTypeCompatibility()
4421 ObjCInterfaceDecl *CurrentClass, in CheckObjCMethodOverrides() argument
4436 CurrentClass != overridden->getClassInterface() || in CheckObjCMethodOverrides()
4462 CurrentClass != SuperOverridden->getClassInterface()) { in CheckObjCMethodOverrides()
4491 if (CurrentClass && overridden->getDeclContext() != CurrentClass && in CheckObjCMethodOverrides()
4977 ObjCInterfaceDecl *CurrentClass = dyn_cast<ObjCInterfaceDecl>(ClassDecl); in ActOnMethodDeclaration() local
4978 if (!CurrentClass) { in ActOnMethodDeclaration()
4980 CurrentClass = Cat->getClassInterface(); in ActOnMethodDeclaration()
4982 CurrentClass = Impl->getClassInterface(); in ActOnMethodDeclaration()
4985 CurrentClass = CatImpl->getClassInterface(); in ActOnMethodDeclaration()
4989 = CheckRelatedResultTypeCompatibility(*this, ObjCMethod, CurrentClass); in ActOnMethodDeclaration()
4991 CheckObjCMethodOverrides(ObjCMethod, CurrentClass, RTC); in ActOnMethodDeclaration()