[PATCH] D103752: [LoopNest] Fix Wdeprecated-copy warnings
Whitney Tsang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 5 09:35:37 PDT 2021
Whitney created this revision.
Whitney added reviewers: Meinersbur, bmahjour, etiotto.
Whitney added a project: LLVM.
Whitney requested review of this revision.
Herald added a subscriber: llvm-commits.
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;
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103752
Files:
llvm/include/llvm/Analysis/LoopNestAnalysis.h
Index: llvm/include/llvm/Analysis/LoopNestAnalysis.h
===================================================================
--- llvm/include/llvm/Analysis/LoopNestAnalysis.h
+++ llvm/include/llvm/Analysis/LoopNestAnalysis.h
@@ -30,7 +30,6 @@
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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103752.350062.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210605/ab439f19/attachment.bin>
More information about the llvm-commits
mailing list