Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance
15439 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local15442 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15443 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15446 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()15478 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()15479 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15480 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15483 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
13791 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local13792 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()13794 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()13799 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()