[llvm-commits] [llvm] r169215 - /llvm/trunk/include/llvm/DebugInfo.h
Bill Wendling
isanbard at gmail.com
Mon Dec 3 22:12:44 PST 2012
Author: void
Date: Tue Dec 4 00:12:44 2012
New Revision: 169215
URL: http://llvm.org/viewvc/llvm-project?rev=169215&view=rev
Log:
Add a 'getCount' method to get the number of elements in the subrange.
Modified:
llvm/trunk/include/llvm/DebugInfo.h
Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=169215&r1=169214&r2=169215&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Tue Dec 4 00:12:44 2012
@@ -144,6 +144,7 @@
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.
More information about the llvm-commits
mailing list