OSDN Git Service

Remove the explicit SDNodeIterator::operator= in favor of the implicit default
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:26:17 +0000 (21:26 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:26:17 +0000 (21:26 +0000)
commitfdba20020312bc15bb362f95ee4d27c17c615b9a
tree41c5b8164b1764f1f2fe859e222ff5f7c4f3e5c3
parent317ccafdbd0a10a57b9866c5bf3808b970ebb9ea
Remove the explicit SDNodeIterator::operator= in favor of the implicit default

There doesn't seem to be any need to assert that iterator assignment is
between iterators over the same node - if you want to reuse an iterator
variable to iterate another node, that's perfectly acceptable. Just
don't mix comparisons between iterators into disjoint sequences, as
usual.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231138 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGNodes.h