[Lldb-commits] [lldb] r225539 - Change auto to size_t to fix warning.
Zachary Turner
zturner at google.com
Fri Jan 9 12:15:03 PST 2015
Author: zturner
Date: Fri Jan 9 14:15:03 2015
New Revision: 225539
URL: http://llvm.org/viewvc/llvm-project?rev=225539&view=rev
Log:
Change auto to size_t to fix warning.
Patch by Dan Sinclair
Differential Revision: http://reviews.llvm.org/D6899
Modified:
lldb/trunk/source/DataFormatters/NSIndexPath.cpp
Modified: lldb/trunk/source/DataFormatters/NSIndexPath.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/NSIndexPath.cpp?rev=225539&r1=225538&r2=225539&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/NSIndexPath.cpp (original)
+++ lldb/trunk/source/DataFormatters/NSIndexPath.cpp Fri Jan 9 14:15:03 2015
@@ -86,7 +86,7 @@ public:
bool has_indexes(false),has_length(false);
- for (auto x = 0;
+ for (size_t x = 0;
x < descriptor->GetNumIVars();
x++)
{
More information about the lldb-commits
mailing list