Lines Matching refs:OldMethod
1888 const CXXMethodDecl* OldMethod = dyn_cast<CXXMethodDecl>(Old);
1890 if (OldMethod && NewMethod) {
1892 NewMethod->setTrivial(OldMethod->isTrivial());
1898 OldMethod->isFunctionTemplateSpecialization() &&
1907 if (OldMethod->isStatic() || NewMethod->isStatic()) {
1918 if (isa<CXXConstructorDecl>(OldMethod))
1935 } else if (OldMethod->isImplicit()) {
1941 << New << getSpecialMember(OldMethod);
1944 } else if (OldMethod->isExplicitlyDefaulted()) {
1947 << getSpecialMember(OldMethod);
2144 ObjCMethodDecl *oldMethod) {
2150 mergeDeclAttributes(newMethod, oldMethod, mergeDeprecation);
2153 oldMethod->param_begin();
2159 CheckObjCMethodOverride(newMethod, oldMethod, true);