Lines Matching defs:NewMethod
111 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod,
114 !NewMethod->hasRelatedResultType()) {
119 QualType ResultType = NewMethod->getResultType();
122 = NewMethod->getResultTypeSourceInfo())
127 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext());
129 DeclContext *DC = NewMethod->getDeclContext();
140 Diag(NewMethod->getLocation(),
146 Diag(NewMethod->getLocation(),
162 if ((NewMethod->hasAttr<NSReturnsRetainedAttr>() !=
164 Diag(NewMethod->getLocation(),
169 if ((NewMethod->hasAttr<NSReturnsNotRetainedAttr>() !=
171 Diag(NewMethod->getLocation(),
179 ni = NewMethod->param_begin(), ne = NewMethod->param_end();