Add data formatter for libstdc++ unique_ptr
Details
Diff Detail
Event Timeline
There are same problems with formatting as in D25726. Also test case main() has wrong indentation.
Looks fine with the usual comments. :)
packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/Makefile | ||
---|---|---|
5 | Same comments as the previous patch (no CXXFLAGS, simplify no-limit-debug-info handling) | |
packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py | ||
33 | Can you add a test accessing nup.deleter, iup.deleter (I guess they should error out?) | |
source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp | ||
110 | ~0 ? |
I see you already got a bunch of feedback on specific items. The overall idea looks good to me. I'll try to delve a little deeper in the code ASAP (I was out for a couple days and have some backlog...), but should be good to go assuming you address the feedback you already got + make sure tests work!
source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp | ||
---|---|---|
110 | 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. |
Same comments as the previous patch (no CXXFLAGS, simplify no-limit-debug-info handling)