Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
14417 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local14421 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()14422 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()14424 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()14456 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()14458 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()14459 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()14461 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
12772 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local12774 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()12775 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()12779 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()12792 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()