For PR1137:
authorReid Spencer <rspencer@reidspencer.com>
Sun, 28 Jan 2007 00:51:40 +0000 (00:51 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 28 Jan 2007 00:51:40 +0000 (00:51 +0000)
commit1e3c64e1831795ad8bbedfbc9bf0c8affff5b400
tree44bedf9b9d97243f3a0ae04ead257fcf6b1af59b
parent104fff8e5a2789d63cbb8e568f2266947b13fd77
For PR1137:
When a value is found to have the same name as another, try harder to
disambiguate when its a type plane collapse issue and when it isn't. We
traverse the type to see if it contains an integer. If it does not then
we issue the error because it can't be resulting from integer type planes
collapsing. Otherwise we just rename it, even if that's a bit of overkill.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33594 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-upgrade/UpgradeParser.y