Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
8869 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local8873 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()8874 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()8876 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()8908 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()8910 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()8911 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()8913 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
9897 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local9899 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()9900 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()9904 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()9916 << LHSDeclRef->getType() in DiagnoseSelfAssignment()