Searched refs:LHSDeclRef (Results 1 – 4 of 4) 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()
15169 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local15173 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15174 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15176 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()15208 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()15210 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15211 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15213 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
13671 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local13673 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()13674 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()13678 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()13691 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()