Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
13599 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local13603 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()13604 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()13606 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()13616 << FixItHint::CreateInsertion(LHSDeclRef->getBeginLoc(), "this->"); in DiagnoseSelfMove()13644 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()13646 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()13647 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()13649 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
14421 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local14423 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()14424 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()14428 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()14441 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()14446 << FixItHint::CreateInsertion(LHSDeclRef->getBeginLoc(), "this->"); in DiagnoseSelfAssignment()