Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance
10462 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local10465 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()10466 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()10469 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()10501 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()10502 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()10503 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()10506 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
10692 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local10693 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()10695 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()10700 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()