1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

llvm-svn: 169215
This commit is contained in:
Bill Wendling 2012-12-04 06:12:44 +00:00
parent 3e68d7d342
commit 71a12c0ef7

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.