Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance
17167 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local17170 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()17171 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()17174 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()17181 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()17212 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()17213 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()17214 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()17217 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
14936 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local14937 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()14939 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()14944 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()