Searched refs:LHSDeclRef (Results 1 – 2 of 2) sorted by relevance
8382 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local8386 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()8387 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()8389 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()8421 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()8423 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()8424 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()8426 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
9390 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local9392 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()9393 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()9397 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()9409 << LHSDeclRef->getType() in DiagnoseSelfAssignment()