Rafael Espindola
|
11ceba8119
|
Switch to smallvector. Also fix issue with using unsigend for MaxSplit.
llvm-svn: 87068
|
2009-11-13 02:18:25 +00:00 |
|
Rafael Espindola
|
22f040b797
|
Add a new split method to StringRef that puts the substrings in a vector.
llvm-svn: 87058
|
2009-11-13 01:24:40 +00:00 |
|
Daniel Dunbar
|
16a5387db2
|
Add From arguments to StringRef search functions, and tweak doxyments.
Also, add unittests for find_first_of and find_first_not_of.
llvm-svn: 86770
|
2009-11-11 00:28:53 +00:00 |
|
Daniel Dunbar
|
60e1dee7fa
|
Add StringRef::{rfind, rsplit}
llvm-svn: 82087
|
2009-09-16 22:38:48 +00:00 |
|
Daniel Dunbar
|
09f40a7871
|
Fix pasto in StringRef::count(char)
llvm-svn: 79356
|
2009-08-18 18:34:22 +00:00 |
|
Daniel Dunbar
|
4a9a98a5de
|
Add StringRef::count({char,StringRef})
llvm-svn: 79354
|
2009-08-18 18:26:35 +00:00 |
|
Daniel Dunbar
|
f4e8af6ecc
|
StringRef: Add find(char) and find(StringRef).
Also, regroup functions.
llvm-svn: 78712
|
2009-08-11 20:47:15 +00:00 |
|
Daniel Dunbar
|
b97f9fc3f5
|
Add StringRef::{slice, split}, two convenient string operations which are simple
and efficient on a StringRef.
llvm-svn: 77117
|
2009-07-26 03:18:15 +00:00 |
|
Daniel Dunbar
|
6bbe0f1151
|
Support writing a StringRef to a raw_ostream directly.
llvm-svn: 76754
|
2009-07-22 17:13:20 +00:00 |
|
Daniel Dunbar
|
30c92a0aee
|
Add StringRef::{substr, startswith}.
llvm-svn: 76559
|
2009-07-21 09:18:49 +00:00 |
|
Daniel Dunbar
|
8ab30670cc
|
Add StringRef class, with fixes.
llvm-svn: 76543
|
2009-07-21 07:28:51 +00:00 |
|