Skip to content

Commit

Permalink
Add a 'getCount' method to get the number of elements in the subrange.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169215 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Dec 4, 2012
1 parent ee72115 commit 69b1e71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/llvm/DebugInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 69b1e71

Please sign in to comment.