Lines Matching refs:MethodDecl
432 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(AFC->getDecl()); in checkPostCall() local
433 if (!MethodDecl) in checkPostCall()
439 const auto *ConstructorDecl = dyn_cast<CXXConstructorDecl>(MethodDecl); in checkPostCall()
443 if (!ConstructorDecl && !MethodDecl->isMoveAssignmentOperator()) in checkPostCall()
469 const CXXRecordDecl *RD = MethodDecl->getParent(); in checkPostCall()
618 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl()); in checkPreCall() local
619 if (!MethodDecl) in checkPreCall()
626 if (isStateResetMethod(MethodDecl)) { in checkPreCall()
632 if (isMoveSafeMethod(MethodDecl)) in checkPreCall()
636 const CXXRecordDecl *RD = MethodDecl->getParent(); in checkPreCall()
638 if (MethodDecl->isOverloadedOperator()) { in checkPreCall()
639 OverloadedOperatorKind OOK = MethodDecl->getOverloadedOperator(); in checkPreCall()
646 if (MethodDecl->isCopyAssignmentOperator() || in checkPreCall()
647 MethodDecl->isMoveAssignmentOperator()) { in checkPreCall()
650 MethodDecl->isMoveAssignmentOperator() ? MK_Move : MK_Copy; in checkPreCall()