[Lldb-commits] [PATCH] D42620: [lldb] Silence signed <-> unsigned integer comparison warning

Kirill Bobyrev via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 29 05:01:44 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL323645: [lldb] Silence signed <-> unsigned integer comparison warning (authored by omtcyfz, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D42620?vs=131704&id=131773#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D42620

Files:
  lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp


Index: lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
===================================================================
--- lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
+++ lldb/trunk/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
@@ -270,7 +270,7 @@
     // Drop last variadic argument.
     if (is_variadic)
       --num_args;
-    for (int arg_idx = 0; arg_idx < num_args; arg_idx++) {
+    for (uint32_t arg_idx = 0; arg_idx < num_args; arg_idx++) {
       auto arg = arg_enum->getChildAtIndex(arg_idx);
       if (!arg)
         break;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42620.131773.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180129/0495474d/attachment.bin>


More information about the lldb-commits mailing list