[llvm] 9b022a6 - Revert "Revert "[LoopNest] Fix Wdeprecated-copy warnings""

Whitney Tsang via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 14:52:01 PDT 2021


Author: Whitney Tsang
Date: 2021-06-08T21:51:53Z
New Revision: 9b022a679b2ba79b8c7d11135b9297f0149f1433

URL: https://github.com/llvm/llvm-project/commit/9b022a679b2ba79b8c7d11135b9297f0149f1433
DIFF: https://github.com/llvm/llvm-project/commit/9b022a679b2ba79b8c7d11135b9297f0149f1433.diff

LOG: 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

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/LoopNestAnalysis.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/LoopNestAnalysis.h b/llvm/include/llvm/Analysis/LoopNestAnalysis.h
index e045419f8d537..9a749a1c8eae1 100644
--- a/llvm/include/llvm/Analysis/LoopNestAnalysis.h
+++ b/llvm/include/llvm/Analysis/LoopNestAnalysis.h
@@ -30,7 +30,6 @@ class LoopNest {
   LoopNest(Loop &Root, ScalarEvolution &SE);
 
   LoopNest() = delete;
-  LoopNest &operator=(const LoopNest &) = delete;
 
   /// Construct a LoopNest object.
   static std::unique_ptr<LoopNest> getLoopNest(Loop &Root, ScalarEvolution &SE);


        


More information about the llvm-commits mailing list