Home | History | Annotate | Download | only in Sema

Lines Matching refs:OldMethod

2628     const CXXMethodDecl *OldMethod = dyn_cast<CXXMethodDecl>(Old);
2630 if (OldMethod && NewMethod) {
2632 NewMethod->setTrivial(OldMethod->isTrivial());
2638 OldMethod->isFunctionTemplateSpecialization() &&
2647 if (OldMethod->isStatic() != NewMethod->isStatic()) {
2659 if (isa<CXXConstructorDecl>(OldMethod))
2680 } else if (OldMethod->isImplicit()) {
2686 << New << getSpecialMember(OldMethod);
2689 } else if (OldMethod->isExplicitlyDefaulted() && !isFriend) {
2692 << getSpecialMember(OldMethod);
2949 ObjCMethodDecl *oldMethod) {
2955 mergeDeclAttributes(newMethod, oldMethod, MergeKind);
2958 ObjCMethodDecl::param_const_iterator oi = oldMethod->param_begin(),
2959 oe = oldMethod->param_end();
2965 oldMethod);
7805 CXXMethodDecl *oldMethod = cast<CXXMethodDecl>(OldDecl);
7806 NewFD->setAccess(oldMethod->getAccess());
7814 oldMethod = cast<CXXMethodDecl>(oldMethod->getFirstDecl());
7815 if (oldMethod->isVirtual()) {
7816 Context.setNonKeyFunction(oldMethod);