[Lldb-commits] [PATCH] Change type from auto to size_t to fix warning.

Zachary Turner zturner at google.com
Fri Jan 9 12:16:23 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6899

Files:
  lldb/trunk/source/DataFormatters/NSIndexPath.cpp

Index: lldb/trunk/source/DataFormatters/NSIndexPath.cpp
===================================================================
--- lldb/trunk/source/DataFormatters/NSIndexPath.cpp
+++ lldb/trunk/source/DataFormatters/NSIndexPath.cpp
@@ -86,7 +86,7 @@
             
             bool has_indexes(false),has_length(false);
             
-            for (auto x = 0;
+            for (size_t x = 0;
                  x < descriptor->GetNumIVars();
                  x++)
             {

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6899.17939.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150109/9d1083c8/attachment.bin>


More information about the lldb-commits mailing list