Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
15438 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local15442 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15443 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15445 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()15477 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()15479 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()15480 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()15482 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
13790 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local13792 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()13793 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()13797 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()13810 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()