From: Whitney Tsang Date: Tue, 8 Jun 2021 21:47:56 +0000 (+0000) Subject: Revert "Revert "[LoopNest] Fix Wdeprecated-copy warnings"" X-Git-Tag: llvmorg-14-init~4506 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b022a679b2ba79b8c7d11135b9297f0149f1433;p=platform%2Fupstream%2Fllvm.git Revert "Revert "[LoopNest] Fix Wdeprecated-copy warnings"" This reverts commit 07ef5805abe5d4576eb5528eab63e75505bfd0bd. The broke of the sanitizer-windows bot: https://lab.llvm.org/buildbot/#/builders/127/builds/12064 is not caused by the original commit. Differential Revision: https://reviews.llvm.org/D103752 --- diff --git a/llvm/include/llvm/Analysis/LoopNestAnalysis.h b/llvm/include/llvm/Analysis/LoopNestAnalysis.h index e045419..9a749a1 100644 --- a/llvm/include/llvm/Analysis/LoopNestAnalysis.h +++ b/llvm/include/llvm/Analysis/LoopNestAnalysis.h @@ -30,7 +30,6 @@ 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);