[Lldb-commits] [lldb] r139447 - /lldb/trunk/include/lldb/Utility/Utils.h
Johnny Chen
johnny.chen at apple.com
Fri Sep 9 18:01:44 PDT 2011
Author: johnny
Date: Fri Sep 9 20:01:44 2011
New Revision: 139447
URL: http://llvm.org/viewvc/llvm-project?rev=139447&view=rev
Log:
Add comment.
Modified:
lldb/trunk/include/lldb/Utility/Utils.h
Modified: lldb/trunk/include/lldb/Utility/Utils.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Utility/Utils.h?rev=139447&r1=139446&r2=139447&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Utility/Utils.h (original)
+++ lldb/trunk/include/lldb/Utility/Utils.h Fri Sep 9 20:01:44 2011
@@ -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; }
More information about the lldb-commits
mailing list