Add a 'getCount' method to get the number of elements in the subrange.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169215 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2012-12-04 06:12:44 +00:00
parent ee72115670
commit 69b1e71a3b

View File

@ -144,6 +144,7 @@ namespace llvm {
uint64_t getLo() const { return getUInt64Field(1); }
uint64_t getHi() const { return getUInt64Field(2); }
int64_t getCount() const { return getInt64Field(3); }
};
/// DIArray - This descriptor holds an array of descriptors.