HomeSort by: relevance | last modified time | path
    Searched refs:OldMethod (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDecl.cpp 3543 const CXXMethodDecl *OldMethod = dyn_cast<CXXMethodDecl>(Old);
3545 if (OldMethod && NewMethod) {
3547 NewMethod->setTrivial(OldMethod->isTrivial());
3553 OldMethod->isFunctionTemplateSpecialization() &&
3562 if (OldMethod->isStatic() != NewMethod->isStatic()) {
3574 if (isa<CXXConstructorDecl>(OldMethod))
3596 } else if (OldMethod->isImplicit()) {
3602 << New << getSpecialMember(OldMethod);
3605 } else if (OldMethod->getFirstDecl()->isExplicitlyDefaulted() && !isFriend) {
3608 << getSpecialMember(OldMethod);
    [all...]
SemaOverload.cpp 1217 CXXMethodDecl *OldMethod = dyn_cast<CXXMethodDecl>(Old);
1219 if (OldMethod && NewMethod &&
1220 !OldMethod->isStatic() && !NewMethod->isStatic()) {
1221 if (OldMethod->getRefQualifier() != NewMethod->getRefQualifier()) {
1223 (OldMethod->getRefQualifier() == RQ_None ||
1232 << NewMethod->getRefQualifier() << OldMethod->getRefQualifier();
1233 Diag(OldMethod->getLocation(), diag::note_previous_declaration);
1241 // is a redeclaration of OldMethod.
1242 auto OldQuals = OldMethod->getMethodQualifiers();

Completed in 43 milliseconds