Home | History | Annotate | Download | only in Sema

Lines Matching refs:OldMethod

960   CXXMethodDecl* OldMethod = dyn_cast<CXXMethodDecl>(Old);
962 if (OldMethod && NewMethod &&
963 !OldMethod->isStatic() && !NewMethod->isStatic() &&
964 (OldMethod->getTypeQualifiers() != NewMethod->getTypeQualifiers() ||
965 OldMethod->getRefQualifier() != NewMethod->getRefQualifier())) {
967 OldMethod->getRefQualifier() != NewMethod->getRefQualifier() &&
968 (OldMethod->getRefQualifier() == RQ_None ||
977 << NewMethod->getRefQualifier() << OldMethod->getRefQualifier();
978 Diag(OldMethod->getLocation(), diag::note_previous_declaration);