Constify SDNodeIterator an stop its only non-const user being cast stripped
authorRoman Divacky <rdivacky@freebsd.org>
Wed, 5 Sep 2012 22:03:34 +0000 (22:03 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Wed, 5 Sep 2012 22:03:34 +0000 (22:03 +0000)
commit141e99745adbd3ba9fa7315af3384c1d08c4c20c
tree1f68493c493bc0b6fb5d6acfb825db2521fa1be5
parent98eb98b0f2e6573f5aee67ce3e75624392d637b7
Constify SDNodeIterator an stop its only non-const user being cast stripped
of its constness. Found by gcc48 -Wcast-qual.

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