Lines Matching defs:OldMethod
3913 const CXXMethodDecl *OldMethod = dyn_cast<CXXMethodDecl>(Old);
3915 if (OldMethod && NewMethod) {
3917 NewMethod->setTrivial(OldMethod->isTrivial());
3923 OldMethod->isFunctionTemplateSpecialization() &&
3932 if (OldMethod->isStatic() != NewMethod->isStatic()) {
3944 if (isa<CXXConstructorDecl>(OldMethod))
3966 } else if (OldMethod->isImplicit()) {
3972 << New << llvm::to_underlying(getSpecialMember(OldMethod));
3975 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) {
3978 << llvm::to_underlying(getSpecialMember(OldMethod));