aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/Module.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-04 06:20:49 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-04 06:20:49 +0000
commitbfc0e5725f94a52e92d8f53ab5285a8a0eb1a314 (patch)
tree90d7edc33226261d8deab66915dd823edff6747b /clang/lib/Serialization/Module.cpp
parent628c2dba60ea6978ba9aa9292c8a7e2064cbd0ef (diff)
downloadllvm-bfc0e5725f94a52e92d8f53ab5285a8a0eb1a314.zip
llvm-bfc0e5725f94a52e92d8f53ab5285a8a0eb1a314.tar.gz
llvm-bfc0e5725f94a52e92d8f53ab5285a8a0eb1a314.tar.bz2
Add a 'count' field to the DWARF subrange.
The count field is necessary because there isn't a difference between the 'lo' and 'hi' attributes for a one-element array and a zero-element array. When the count is '0', we know that this is a zero-element array. When it's >=1, then it's a normal constant sized array. When it's -1, then the array is unbounded. llvm-svn: 169218
Diffstat (limited to 'clang/lib/Serialization/Module.cpp')
0 files changed, 0 insertions, 0 deletions