Lines Matching defs:overridden
116 /// Issue a warning if the parameter of the overridden method is non-escaping
146 // implies a related result type, and the original (overridden) method has
182 << /*overridden method*/ 0
3995 // they are overridden by an explicit method that is encountered
4413 // would have overridden.
4424 ObjCMethodDecl *overridden) {
4425 if (overridden->isDirectMethod()) {
4426 const auto *attr = overridden->getAttr<ObjCDirectAttr>();
4432 << isa<ObjCProtocolDecl>(overridden->getDeclContext());
4433 Diag(overridden->getLocation(), diag::note_previous_declaration);
4448 // Search for overridden methods and merge information down from them.
4456 for (ObjCMethodDecl *overridden : overrides) {
4458 if (isa<ObjCProtocolDecl>(overridden->getDeclContext()) ||
4459 !IsMethodInCurrentClass(overridden) || overridden->isOverriding()) {
4460 CheckObjCMethodDirectOverrides(ObjCMethod, overridden);
4463 // OverrideSearch will return as "overridden" the same method in the
4480 !isa<ObjCCategoryImplDecl>(overridden->getDeclContext())) {
4481 OverrideSearch overrides(SemaRef, overridden);
4487 overridden->setOverriding(true);
4497 // Propagate down the 'related result type' bit from overridden methods.
4498 if (RTC != SemaObjC::RTC_Incompatible && overridden->hasRelatedResultType())
4502 SemaRef.mergeObjCMethodDecls(ObjCMethod, overridden);
4504 if (ObjCMethod->isImplicit() && overridden->isImplicit())
4510 CheckConflictingOverridingMethod(ObjCMethod, overridden,
4511 isa<ObjCProtocolDecl>(overridden->getDeclContext()));
4513 if (CurrentClass && overridden->getDeclContext() != CurrentClass &&
4514 isa<ObjCInterfaceDecl>(overridden->getDeclContext()) &&
4515 !overridden->isImplicit() /* not meant for properties */) {
4518 ObjCMethodDecl::param_iterator PrevI = overridden->param_begin(),
4519 PrevE = overridden->param_end();
4521 assert(PrevI != overridden->param_end() && "Param mismatch");
4529 Diag(overridden->getLocation(), diag::note_previous_declaration);
4863 // made visible yet, so it can be overridden by a later