[Lldb-commits] [PATCH] D12872: Use uint64_t for GoArray size.

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 14 20:57:14 PDT 2015


brucem added a comment.

This is meant to fix this warning:

  llvm/tools/lldb/source/Symbol/GoASTContext.cpp:1107:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int64_t' (aka 'long long') [-Wsign-compare]
          if (ignore_array_bounds || idx < a->GetLength())
                                     ~~~ ^ ~~~~~~~~~~~~~~
  1 warning generated.


http://reviews.llvm.org/D12872





More information about the lldb-commits mailing list