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 abfc446063
commit 36ed3024ed
1 changed files with 1 additions and 0 deletions

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.