[llvm] 07ef580 - Revert "[LoopNest] Fix Wdeprecated-copy warnings"

Whitney Tsang via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 13:46:37 PDT 2021


Author: Whitney Tsang
Date: 2021-06-08T20:46:12Z
New Revision: 07ef5805abe5d4576eb5528eab63e75505bfd0bd

URL: https://github.com/llvm/llvm-project/commit/07ef5805abe5d4576eb5528eab63e75505bfd0bd
DIFF: https://github.com/llvm/llvm-project/commit/07ef5805abe5d4576eb5528eab63e75505bfd0bd.diff

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

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 9a749a1c8eae1..e045419f8d537 100644
--- a/llvm/include/llvm/Analysis/LoopNestAnalysis.h
+++ b/llvm/include/llvm/Analysis/LoopNestAnalysis.h
@@ -30,6 +30,7 @@ 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