Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance
16888 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local16891 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()16892 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()16895 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()16902 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()16933 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()16934 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()16935 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()16938 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
14657 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local14658 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()14660 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()14665 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()