[llvm-commits] [PATCH][Support/StringRef] Add rtrim.

Michael Spencer bigcheesegs at gmail.com
Wed May 9 16:35:25 PDT 2012


I need rtrim (right trim) for the YAML parser.

An alternative implementation would be to add rfind_first_not_of and
then implement in terms of that.

Patch attached.

- Michael Spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtrim.patch
Type: application/octet-stream
Size: 2789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120509/193d8f80/attachment.obj>


More information about the llvm-commits mailing list