aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-04 21:33:58 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-04 21:33:58 +0000
commit9d05986cc590a0df3fcd38565068be554910ab31 (patch)
tree5b7f35dddcc62d6c2f52fd33ca58926521d26d4b /lib/Driver/Tools.cpp
parent45b27380a24dcd6a39faa888b5d31192801c43f4 (diff)
Use the 'count' attribute to calculate the upper bound of an array.
The count attribute is more accurate with regards to the size of an array. It also obviates the upper bound attribute in the subrange. We can also better handle an unbound array by setting the count to -1 instead of the lower bound to 1 and upper bound to 0. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions