diff options
author | Vedant Kumar <vsk@apple.com> | 2016-02-16 01:48:39 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-02-16 01:48:39 +0000 |
commit | f114b40c7310d04b984dd0b0800718f74382d991 (patch) | |
tree | 773ea7e1e1a8b95c9bfc5204eebe8d5e10a5a89b /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 975ce8fab505b29c9a49f6d1f0d84193f81d3661 (diff) | |
download | bcm5719-llvm-f114b40c7310d04b984dd0b0800718f74382d991.tar.gz bcm5719-llvm-f114b40c7310d04b984dd0b0800718f74382d991.zip |
[ADT] Add StringRef::{l,r}trim(char) overloads (NFC)
Add support for trimming a single kind of character from a StringRef.
This makes the common case of trimming null bytes much neater. It's also
probably a bit speedier too, since it avoids creating a std::bitset in
find_{first,last}_not_of.
llvm-svn: 260925
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions