Lines Matching refs:MethodDecl
445 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl()); in checkPostCall() local
446 if (!MethodDecl) in checkPostCall()
452 const auto *ConstructorDecl = dyn_cast<CXXConstructorDecl>(MethodDecl); in checkPostCall()
456 if (!ConstructorDecl && !MethodDecl->isMoveAssignmentOperator()) in checkPostCall()
482 const CXXRecordDecl *RD = MethodDecl->getParent(); in checkPostCall()
631 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl()); in checkPreCall() local
632 if (!MethodDecl) in checkPreCall()
639 if (isStateResetMethod(MethodDecl)) { in checkPreCall()
645 if (isMoveSafeMethod(MethodDecl)) in checkPreCall()
649 const CXXRecordDecl *RD = MethodDecl->getParent(); in checkPreCall()
651 if (MethodDecl->isOverloadedOperator()) { in checkPreCall()
652 OverloadedOperatorKind OOK = MethodDecl->getOverloadedOperator(); in checkPreCall()
659 if (MethodDecl->isCopyAssignmentOperator() || in checkPreCall()
660 MethodDecl->isMoveAssignmentOperator()) { in checkPreCall()
663 MethodDecl->isMoveAssignmentOperator() ? MK_Move : MK_Copy; in checkPreCall()