CFG::SuccessorIterator: Remove explicit copy assignment, as the default is fine
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:45:54 +0000 (21:45 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:45:54 +0000 (21:45 +0000)
commit017ba3988f764d090de3f3a2d5b52daca28cf2bf
tree42a9d03de3faec251e9d59151976bc58b3496119
parentc853fd1db5ed2c9d7ddeaa004b4ea79c8d04293d
CFG::SuccessorIterator: Remove explicit copy assignment, as the default is fine

There's no reason to disallow assigning an iterator from one range to an
iterator that previously iterated over a disjoint range. This then
follows the Rule of Zero, allowing implicit copy construction to be used
without hitting the case that's deprecated in C++11.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231142 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/CFG.h