History log of /llvm-project-15.0.7/lldb/source/DataFormatters/StringPrinter.cpp (Results 26 – 43 of 43)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d717cc9f 20-Oct-2015 Enrico Granata <[email protected]>

Rationalization of includes in the data formatters code

llvm-svn: 250798


# 43d3a7ae 18-Oct-2015 Saleem Abdulrasool <[email protected]>

Silence -Wreturn-type with gcc 5.2

The switch is fully covered, mark "default" as unreachable. NFC.

llvm-svn: 250667


# ba507b04 18-Oct-2015 Saleem Abdulrasool <[email protected]>

Silence -Wqual-cast warnings from GCC 5.2

There were a number of const qualifiers being cast away which caused warnings.
This cluttered the output hiding real errors. Silence them by explicit casti

Silence -Wqual-cast warnings from GCC 5.2

There were a number of const qualifiers being cast away which caused warnings.
This cluttered the output hiding real errors. Silence them by explicit casting.
NFC.

llvm-svn: 250662

show more ...


# d54f7fb8 07-Oct-2015 Enrico Granata <[email protected]>

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


# ac49453b 09-Sep-2015 Enrico Granata <[email protected]>

Introduce the notion of an escape helper. Different languages have different notion of what to print in a string and how to escape non-printable things. The escape helper is where this notion is prov

Introduce the notion of an escape helper. Different languages have different notion of what to print in a string and how to escape non-printable things. The escape helper is where this notion is provided to LLDB

This is NFC, other than a code re-org

llvm-svn: 247200

show more ...


# ad650a18 09-Sep-2015 Enrico Granata <[email protected]>

Preparatory work for letting language plugins help the StringPrinter with formatting special characters

llvm-svn: 247189


Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, llvmorg-3.7.0-rc2
# 8101f570 17-Jul-2015 Enrico Granata <[email protected]>

Teach the std::wstring data formatter how to properly display strings with embedded NUL bytes

llvm-svn: 242501


# d07f7550 17-Jul-2015 Enrico Granata <[email protected]>

Add StringPrinter support for printing a std::string with embedded NUL bytes

llvm-svn: 242496


Revision tags: llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1, llvmorg-3.6.1
# d7e6a4f2 13-May-2015 Vince Harron <[email protected]>

Fixed a ton of gcc compile warnings

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 Revis

Fixed a ton of gcc compile warnings

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

show more ...


Revision tags: llvmorg-3.6.1-rc1
# b0e8a55d 01-May-2015 Enrico Granata <[email protected]>

Fix an issue where the UTF dumper was ignoring the direction to generate uncapped dumps

llvm-svn: 236362


Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1, llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1
# 3acfe1a3 29-Dec-2014 Andy Gibbs <[email protected]>

Fix trivial signed/unsigned comparison warnings

llvm-svn: 224932


# da04fbb5 18-Dec-2014 Enrico Granata <[email protected]>

We don't really handle printing embedded NULs in strings, but if we were to, we would need to have this logic inside the StringPrinter. So, add it.. For, you know, one day in the future where we migh

We don't really handle printing embedded NULs in strings, but if we were to, 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

show more ...


Revision tags: llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1
# 34042212 18-Nov-2014 Enrico Granata <[email protected]>

Add the ability for the NSString and libc++ std::string formatters to retrieve uncapped data

llvm-svn: 222277


# 099263b4 17-Nov-2014 Enrico Granata <[email protected]>

Fix a problem where the StringPrinter could be mistaking an empty string for a read error, and reporting spurious 'unable to read data' messages. rdar://19007243

llvm-svn: 222190


# ebdc1ac0 05-Nov-2014 Enrico Granata <[email protected]>

Add a setting escape-non-printables that drives whether the StringPrinter should or should not escape sequences such as \t, \n, .. and generally any non-printing character

The recent StringPrinter c

Add a setting escape-non-printables that drives whether the StringPrinter 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

show more ...


# fd13743f 04-Nov-2014 Shawn Best <[email protected]>

for Siva Chandra: Fix compilation of StringPrinter.cpp with GCC. Differential Revision: http://reviews.llvm.org/D6122

llvm-svn: 221310


# c19cf1d4 30-Oct-2014 Zachary Turner <[email protected]>

Remove #include <codecvt>. It isn't supported on all compilers.

Also it wasn't being used anyway, so it appears to be a dead include.

llvm-svn: 220921


# ca6c8ee2 30-Oct-2014 Enrico Granata <[email protected]>

Start adopting the StringPrinter API. The StringPrinter API is the new blessed way of printing strings that supports escaping non-printables, and has better handling of different UTF encodings

llvm-

Start adopting the StringPrinter API. The StringPrinter API is the new blessed way of printing strings that supports escaping non-printables, and has better handling of different UTF encodings

llvm-svn: 220894

show more ...


12