[Lldb-commits] [PATCH] D25734: Add data formatter for libstdc++ unique_ptr

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 21 07:36:25 PDT 2016


tberghammer added inline comments.


================
Comment at: source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp:110
+  if (name == ConstString("ptr") || name == ConstString("pointer")) return 2;
+  return UINT32_MAX;
+}
----------------
labath wrote:
> ~0 ?
The user compares the result against UINT32_MAX what is wrong but I don't want to start changing all use case of this function in this CL.


https://reviews.llvm.org/D25734





More information about the lldb-commits mailing list