From 07ef5805abe5d4576eb5528eab63e75505bfd0bd Mon Sep 17 00:00:00 2001 From: Whitney Tsang Date: Tue, 8 Jun 2021 20:44:57 +0000 Subject: [PATCH] Revert "[LoopNest] Fix Wdeprecated-copy warnings" This reverts commit dee1f0cb348b0a56375d9b563fb4d6918c431ed1. It appears that this change broke the sanitizer-windows bot: https://lab.llvm.org/buildbot/#/builders/127/builds/12064 Differential Revision: https://reviews.llvm.org/D103752 --- llvm/include/llvm/Analysis/LoopNestAnalysis.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/Analysis/LoopNestAnalysis.h b/llvm/include/llvm/Analysis/LoopNestAnalysis.h index 9a749a1..e045419 100644 --- a/llvm/include/llvm/Analysis/LoopNestAnalysis.h +++ b/llvm/include/llvm/Analysis/LoopNestAnalysis.h @@ -30,6 +30,7 @@ public: LoopNest(Loop &Root, ScalarEvolution &SE); LoopNest() = delete; + LoopNest &operator=(const LoopNest &) = delete; /// Construct a LoopNest object. static std::unique_ptr getLoopNest(Loop &Root, ScalarEvolution &SE); -- 2.7.4