[llvm] ab36965 - [llvm-exegesis] Remove unnecessary deletion of an assignment operator of WrappingIterator that angers some versions of MSVC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 14:33:49 PST 2020
Author: Craig Topper
Date: 2020-02-27T14:33:32-08:00
New Revision: ab369659338e905fe8241f07d4136ffa4405113b
URL: https://github.com/llvm/llvm-project/commit/ab369659338e905fe8241f07d4136ffa4405113b
DIFF: https://github.com/llvm/llvm-project/commit/ab369659338e905fe8241f07d4136ffa4405113b.diff
LOG: [llvm-exegesis] Remove unnecessary deletion of an assignment operator of WrappingIterator that angers some versions of MSVC
The deletion of the const WrappingIterator & should already cover this.
Added:
Modified:
llvm/tools/llvm-exegesis/lib/SnippetGenerator.h
Removed:
################################################################################
diff --git a/llvm/tools/llvm-exegesis/lib/SnippetGenerator.h b/llvm/tools/llvm-exegesis/lib/SnippetGenerator.h
index 65a3fe61aecb..19a1ed0c401e 100644
--- a/llvm/tools/llvm-exegesis/lib/SnippetGenerator.h
+++ b/llvm/tools/llvm-exegesis/lib/SnippetGenerator.h
@@ -150,7 +150,6 @@ class CombinationGenerator {
WrappingIterator() = delete;
WrappingIterator(const WrappingIterator &) = delete;
WrappingIterator(WrappingIterator &&) = delete;
- WrappingIterator &operator=(WrappingIterator) = delete;
WrappingIterator &operator=(const WrappingIterator &) = delete;
WrappingIterator &operator=(WrappingIterator &&) = delete;
};
More information about the llvm-commits
mailing list