Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
18962 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local18966 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()18967 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()18969 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()18979 << FixItHint::CreateInsertion(LHSDeclRef->getBeginLoc(), "this->"); in DiagnoseSelfMove()19007 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()19009 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()19010 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()19012 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
15422 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local15424 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()15425 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()15429 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()15442 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()15447 << FixItHint::CreateInsertion(LHSDeclRef->getBeginLoc(), "this->"); in DiagnoseSelfAssignment()