Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
10461 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local10465 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()10466 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()10468 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()10500 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()10502 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()10503 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()10505 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
10691 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local10693 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()10694 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()10698 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()10710 << LHSDeclRef->getType() in DiagnoseSelfAssignment()