mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[LoopNest] Fix Wdeprecated-copy warnings
error: definition of implicit copy constructor for 'LoopNest' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy] LoopNest &operator=(const LoopNest &) = delete; Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D103752
This commit is contained in:
parent
5c5f9ef7cf
commit
8193fc7976
@ -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<LoopNest> getLoopNest(Loop &Root, ScalarEvolution &SE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user