This is an archive of the discontinued LLVM Phabricator instance.

Adding formatters for libc++ std::u16string and std::u32string
ClosedPublic

Authored by shafik on Oct 24 2018, 9:41 AM.

Details

Summary

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.

Diff Detail

Event Timeline

shafik created this revision.Oct 24 2018, 9:41 AM
jingham accepted this revision.Oct 24 2018, 3:33 PM

This looks reasonable to me.

This revision is now accepted and ready to land.Oct 24 2018, 3:33 PM
This revision was automatically updated to reflect the committed changes.