Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
9440 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local9444 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()9445 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()9447 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()9479 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()9481 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()9482 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()9484 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
10175 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local10177 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()10178 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()10182 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()10194 << LHSDeclRef->getType() in DiagnoseSelfAssignment()