summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/StringPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a ton of gcc compile warningsVince Harron2015-05-131-15/+15
| | | | | | | | | | Removed some unused variables, added some consts, changed some casts to const_cast. I don't think any of these changes are very controversial. Differential Revision: http://reviews.llvm.org/D9674 llvm-svn: 237218
* Fix an issue where the UTF dumper was ignoring the direction to generate ↵Enrico Granata2015-05-011-1/+1
| | | | | | uncapped dumps llvm-svn: 236362
* Fix trivial signed/unsigned comparison warningsAndy Gibbs2014-12-291-2/+2
| | | | llvm-svn: 224932
* We don't really handle printing embedded NULs in strings, but if we were to, ↵Enrico Granata2014-12-181-0/+6
| | | | | | we would need to have this logic inside the StringPrinter. So, add it.. For, you know, one day in the future where we might want to handle embedded NULs in strings... llvm-svn: 224537
* Add the ability for the NSString and libc++ std::string formatters to ↵Enrico Granata2014-11-181-1/+3
| | | | | | retrieve uncapped data llvm-svn: 222277
* Fix a problem where the StringPrinter could be mistaking an empty string for ↵Enrico Granata2014-11-171-1/+1
| | | | | | a read error, and reporting spurious 'unable to read data' messages. rdar://19007243 llvm-svn: 222190
* Add a setting escape-non-printables that drives whether the StringPrinter ↵Enrico Granata2014-11-051-0/+15
| | | | | | | | | | | should or should not escape sequences such as \t, \n, .. and generally any non-printing character The recent StringPrinter changes made this behavior the default, and the setting defaults to yes If you want to change this behavior and see non-printables unescaped (e.g. "a\tb" as "a b"), set it to false Fixes rdar://12969594 llvm-svn: 221399
* for Siva Chandra: Fix compilation of StringPrinter.cpp with GCC. ↵Shawn Best2014-11-041-95/+105
| | | | | | Differential Revision: http://reviews.llvm.org/D6122 llvm-svn: 221310
* Remove #include <codecvt>. It isn't supported on all compilers.Zachary Turner2014-10-301-1/+0
| | | | | | Also it wasn't being used anyway, so it appears to be a dead include. llvm-svn: 220921
* Start adopting the StringPrinter API. The StringPrinter API is the new ↵Enrico Granata2014-10-301-0/+618
blessed way of printing strings that supports escaping non-printables, and has better handling of different UTF encodings llvm-svn: 220894
OpenPOWER on IntegriCloud