Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
13297 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local13301 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()13302 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()13304 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()13336 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()13338 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()13339 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()13341 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
12113 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local12115 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()12116 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()12120 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()12133 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()