Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance
13298 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local13301 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()13302 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()13305 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()13337 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()13338 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()13339 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()13342 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
12114 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local12115 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()12117 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()12122 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()