Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance
15780 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local15783 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15784 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15787 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()15819 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()15820 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15821 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15824 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
13912 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local13913 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()13915 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()13920 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()