[llvm] r231109 - Remove explicit copy assignment operator in favor of the implicit/default to avoid disabling/deprecating the implicit copy ctor.
David Blaikie
dblaikie at gmail.com
Tue Mar 3 11:29:13 PST 2015
Author: dblaikie
Date: Tue Mar 3 13:29:13 2015
New Revision: 231109
URL: http://llvm.org/viewvc/llvm-project?rev=231109&view=rev
Log:
Remove explicit copy assignment operator in favor of the implicit/default to avoid disabling/deprecating the implicit copy ctor.
Modified:
llvm/trunk/include/llvm/Analysis/AliasSetTracker.h
Modified: llvm/trunk/include/llvm/Analysis/AliasSetTracker.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasSetTracker.h?rev=231109&r1=231108&r2=231109&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/AliasSetTracker.h (original)
+++ llvm/trunk/include/llvm/Analysis/AliasSetTracker.h Tue Mar 3 13:29:13 2015
@@ -192,11 +192,6 @@ public:
}
bool operator!=(const iterator& x) const { return !operator==(x); }
- const iterator &operator=(const iterator &I) {
- CurNode = I.CurNode;
- return *this;
- }
-
value_type &operator*() const {
assert(CurNode && "Dereferencing AliasSet.end()!");
return *CurNode;
More information about the llvm-commits
mailing list