Remove the explicit SDNodeIterator::operator= in favor of the implicit default
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:17:08 +0000 (21:17 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:17:08 +0000 (21:17 +0000)
commitb13215ec3b5380661d3c38d0ec3fc54600bb5e41
tree96e87da2a4ed8c1f1a65e4b6ecb465fb1d5fa7c1
parent113c43b2c627d4405a34b9e33b74e78cd58e8b80
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@231135 91177308-0d34-0410-b5e6-96231b3b80d8
23 files changed:
include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/IntervalIterator.h
include/llvm/Analysis/RegionIterator.h
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/SelectionDAGNodes.h
include/llvm/IR/CFG.h
include/llvm/IR/ValueHandle.h
include/llvm/MC/MCContext.h
include/llvm/Support/CommandLine.h
include/llvm/Support/Format.h
include/llvm/Support/YAMLParser.h
lib/Analysis/CFLAliasAnalysis.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveStackAnalysis.cpp
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
tools/llvm-diff/DiffLog.h
unittests/ADT/DenseMapTest.cpp
unittests/ADT/ilistTest.cpp
utils/TableGen/AsmMatcherEmitter.cpp