projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abfc446
)
Add a 'getCount' method to get the number of elements in the subrange.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 4 Dec 2012 06:12:44 +0000
(06:12 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 4 Dec 2012 06:12:44 +0000
(06:12 +0000)
llvm-svn: 169215
llvm/include/llvm/DebugInfo.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/DebugInfo.h
b/llvm/include/llvm/DebugInfo.h
index
ee0505b
..
70b1ef3
100644
(file)
--- a/
llvm/include/llvm/DebugInfo.h
+++ b/
llvm/include/llvm/DebugInfo.h
@@
-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.