Lines Matching refs:overridden
3013 ObjCMethodDecl *overridden = *i; in CheckObjCMethodOverrides() local
3016 if (isa<ObjCProtocolDecl>(overridden->getDeclContext()) || in CheckObjCMethodOverrides()
3017 CurrentClass != overridden->getClassInterface() || in CheckObjCMethodOverrides()
3018 overridden->isOverriding()) { in CheckObjCMethodOverrides()
3039 !isa<ObjCCategoryImplDecl>(overridden->getDeclContext())) { in CheckObjCMethodOverrides()
3040 OverrideSearch overrides(*this, overridden); in CheckObjCMethodOverrides()
3047 overridden->setOverriding(true); in CheckObjCMethodOverrides()
3058 if (RTC != Sema::RTC_Incompatible && overridden->hasRelatedResultType()) in CheckObjCMethodOverrides()
3062 mergeObjCMethodDecls(ObjCMethod, overridden); in CheckObjCMethodOverrides()
3064 if (ObjCMethod->isImplicit() && overridden->isImplicit()) in CheckObjCMethodOverrides()
3070 CheckConflictingOverridingMethod(ObjCMethod, overridden, in CheckObjCMethodOverrides()
3071 isa<ObjCProtocolDecl>(overridden->getDeclContext())); in CheckObjCMethodOverrides()
3073 if (CurrentClass && overridden->getDeclContext() != CurrentClass && in CheckObjCMethodOverrides()
3074 isa<ObjCInterfaceDecl>(overridden->getDeclContext()) && in CheckObjCMethodOverrides()
3075 !overridden->isImplicit() /* not meant for properties */) { in CheckObjCMethodOverrides()
3078 ObjCMethodDecl::param_iterator PrevI = overridden->param_begin(), in CheckObjCMethodOverrides()
3079 PrevE = overridden->param_end(); in CheckObjCMethodOverrides()
3081 assert(PrevI != overridden->param_end() && "Param mismatch"); in CheckObjCMethodOverrides()
3089 Diag(overridden->getLocation(), diag::note_previous_declaration); in CheckObjCMethodOverrides()