[Lldb-commits] [PATCH] D53656: Adding formatters for libc++ std::u16string and std::u32string

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 24 09:43:01 PDT 2018


shafik created this revision.
shafik added reviewers: jingham, davide.
Herald added a reviewer: EricWF.
Herald added a subscriber: christof.

We currently support formatting for std::string and std::wstring but not std::u16string and std::u32string which was added with C++11. This adds support for these two types via refactoring for the existing std::string formatter.


https://reviews.llvm.org/D53656

Files:
  packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile
  packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
  packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp
  source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  source/Plugins/Language/CPlusPlus/LibCxx.cpp
  source/Plugins/Language/CPlusPlus/LibCxx.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53656.170921.patch
Type: text/x-patch
Size: 13289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181024/11a1bfab/attachment-0001.bin>


More information about the lldb-commits mailing list