diff --git a/llvm/include/llvm/Analysis/LoopNestAnalysis.h b/llvm/include/llvm/Analysis/LoopNestAnalysis.h index 9a749a1c8eae19..e045419f8d537d 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 getLoopNest(Loop &Root, ScalarEvolution &SE);