summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
Diffstat (limited to 'lldb')
-rw-r--r--lldb/include/lldb/Utility/Utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/include/lldb/Utility/Utils.h b/lldb/include/lldb/Utility/Utils.h
index 9d5a6c0da12..d2dafd5ddff 100644
--- a/lldb/include/lldb/Utility/Utils.h
+++ b/lldb/include/lldb/Utility/Utils.h
@@ -12,6 +12,7 @@
namespace lldb_private {
+// Return the number of elements of a static array.
template <typename T, unsigned size>
inline unsigned arraysize(T (&v)[size]) { return size; }
OpenPOWER on IntegriCloud