Remove explicit copy assignment operator in favor of the implicit/default to avoid...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 19:29:13 +0000 (19:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 19:29:13 +0000 (19:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231109 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/AliasSetTracker.h

index afa7e6fd77f0083486b7ecd7243f8ab071ac22e6..fc45903042f2b11d895332079058c0eb30370edb 100644 (file)
@@ -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;