summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-09-10 01:01:44 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-09-10 01:01:44 +0000
commit28dda8eebcc8b7d2fb010b360ba0bc2c1033e68f (patch)
treefcf4bf586961957d2ddccf262e70bd3a3febfd27
parent97e3590a6e6a3f79b20213efe2196a45d5de9c20 (diff)
downloadbcm5719-llvm-28dda8eebcc8b7d2fb010b360ba0bc2c1033e68f.tar.gz
bcm5719-llvm-28dda8eebcc8b7d2fb010b360ba0bc2c1033e68f.zip
Add comment.
llvm-svn: 139447
-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