diff options
| author | Enrico Granata <egranata@apple.com> | 2015-10-07 02:06:48 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2015-10-07 02:06:48 +0000 |
| commit | d54f7fb8eb3c0817d17c89640a8e3bcf0622c952 (patch) | |
| tree | b25c936a539cbd296db3e17bb38cd86bc2f9dd11 /lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp | |
| parent | cbffa8cc97336946adcbd6b3b532f3c080cbf246 (diff) | |
| download | bcm5719-llvm-d54f7fb8eb3c0817d17c89640a8e3bcf0622c952.tar.gz bcm5719-llvm-d54f7fb8eb3c0817d17c89640a8e3bcf0622c952.zip | |
Enable the StringPrinter to have prefixes that are strings instead of just a single character; and also introduce a comparable suffix mechanism
llvm-svn: 249506
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp')
| -rw-r--r-- | lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp b/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp index 5928293789b..3eaebef152a 100644 --- a/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp +++ b/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp @@ -573,7 +573,7 @@ lldb_private::formatters::LibcxxWStringSummaryProvider (ValueObject& valobj, Str StringPrinter::ReadBufferAndDumpToStreamOptions options(valobj); options.SetData(extractor); options.SetStream(&stream); - options.SetPrefixToken('L'); + options.SetPrefixToken("L"); options.SetQuote('"'); options.SetSourceSize(size); options.SetBinaryZeroIsTerminator(false); |

