Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance
18963 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local18966 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()18967 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()18970 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()18977 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()19008 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()19009 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()19010 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()19013 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
15423 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local15424 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()15426 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()15431 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()