Lines Matching defs:OldMethod
3945 const CXXMethodDecl *OldMethod = dyn_cast<CXXMethodDecl>(Old);
3947 if (OldMethod && NewMethod) {
3949 NewMethod->setTrivial(OldMethod->isTrivial());
3955 OldMethod->isFunctionTemplateSpecialization() &&
3964 if (OldMethod->isStatic() != NewMethod->isStatic()) {
3976 if (isa<CXXConstructorDecl>(OldMethod))
3998 } else if (OldMethod->isImplicit()) {
4004 << New << llvm::to_underlying(getSpecialMember(OldMethod));
4007 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) {
4010 << llvm::to_underlying(getSpecialMember(OldMethod));