Lines Matching refs:NewMethod
111 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod,
115 !NewMethod->hasRelatedResultType()) {
120 QualType ResultType = NewMethod->getResultType();
123 = NewMethod->getResultTypeSourceInfo())
128 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext());
130 DeclContext *DC = NewMethod->getDeclContext();
141 Diag(NewMethod->getLocation(),
147 Diag(NewMethod->getLocation(),
162 if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() !=
164 Diag(NewMethod->getLocation(),
169 if ((NewMethod->hasAttr<NSReturnsNotRetainedAttr>() !=
171 Diag(NewMethod->getLocation(),
178 ni = NewMethod->param_begin(), ne = NewMethod->param_end();