Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
15779 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local15783 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15784 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15786 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()15818 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()15820 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15821 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15823 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
13911 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local13913 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()13914 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()13918 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()13931 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()