Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
17166 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local17170 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()17171 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()17173 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()17183 << FixItHint::CreateInsertion(LHSDeclRef->getBeginLoc(), "this->"); in DiagnoseSelfMove()17211 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()17213 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()17214 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()17216 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
14935 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local14937 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()14938 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()14942 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()14955 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()14960 << FixItHint::CreateInsertion(LHSDeclRef->getBeginLoc(), "this->"); in DiagnoseSelfAssignment()