Zachary Turner
|
bb0403b31b
Add StringRef::take_front and StringRef::take_back
|
9 年之前 |
Chandler Carruth
|
d9a7752daf
[ADT] Add 'consume_front' and 'consume_back' methods to StringRef which
|
9 年之前 |
Pete Cooper
|
552f3d8472
StringRef::copy shouldn't allocate anything for length 0 strings.
|
9 年之前 |
Vedant Kumar
|
9ae3e2ceaa
[ADT] Add StringRef::{l,r}trim(char) overloads (NFC)
|
9 年之前 |
Chandler Carruth
|
f41971f6e7
[ADT] Fix a confusing interface spec and some annoying peculiarities
|
10 年之前 |
Chandler Carruth
|
82c835626f
[ADT] Add a single-character version of the small vector split routine
|
10 年之前 |
Benjamin Kramer
|
15c435a367
Retire llvm::array_endof in favor of non-member std::end.
|
11 年之前 |
Nick Kledzik
|
8147752976
Fix layering StringRef copy using BumpPtrAllocator.
|
11 年之前 |
Alp Toker
|
650e286dcf
Roll back the ConstStringRef change for now
|
11 年之前 |
Alp Toker
|
bad91954cf
StringRef: Extend constexpr capabilities and introduce ConstStringRef
|
11 年之前 |
Chandler Carruth
|
974a445bd9
Re-sort all of the includes with ./utils/sort_includes.py so that
|
11 年之前 |
Rui Ueyama
|
f34c3ca304
Add {start,end}with_lower methods to StringRef.
|
11 年之前 |
Rui Ueyama
|
bc850d0c6c
Add a few tests for StringRef::{start,end}with.
|
11 年之前 |
Joerg Sonnenberger
|
f57a80f494
Add a Python-like join function to merge a list of strings with a
|
12 年之前 |
Chandler Carruth
|
5a88dda4be
Sort the #include lines for unittest/...
|
12 年之前 |
Nick Kledzik
|
436eaa88fd
Use unsigned long long instead of uin64_t for OS where that matters.
|
13 年之前 |
Benjamin Kramer
|
e25de4ae04
Don't call getAsUnsignedInteger directly, it fails to compile if uint64_t is not "unsigned long long".
|
13 年之前 |
Nick Kledzik
|
7a0f86fa78
Add getAsUnsignedInteger test case that checks that known bad values are rejected
|
13 年之前 |
Michael J. Spencer
|
b0940b46ed
[Support/StringRef] Add find_last_not_of and {r,l,}trim.
|
13 年之前 |
Michael J. Spencer
|
dbb4b2fb5e
Fix warnings.
|
13 年之前 |
Michael J. Spencer
|
9130b42a85
Make StringRef::getAsInteger work with all integer types. Before this change
|
13 年之前 |
Chandler Carruth
|
528f0bbe19
Add generic support for hashing StringRef objects using the new hashing library.
|
13 年之前 |
Benjamin Kramer
|
6e6a558ebc
Add a bad char heuristic to StringRef::find.
|
14 年之前 |
Jakob Stoklund Olesen
|
7850dd0f25
Fix a bug in compare_numeric().
|
14 年之前 |
Lenny Maiorani
|
6cf081cbe5
Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing.
|
14 年之前 |
Lenny Maiorani
|
437ef0cfb7
Implements StringRef::compare with bounds. It is behaves similarly to strncmp(). Unit tests also included.
|
14 年之前 |
Chris Lattner
|
b3371cdf5e
|
14 年之前 |
Benjamin Kramer
|
837bccd052
StringRef::compare_numeric also differed from StringRef::compare for characters > 127.
|
15 年之前 |
Benjamin Kramer
|
0043e35b82
Do unsigned char comparisons in StringRef::compare_lower to be more consistent with compare in corner cases.
|
15 年之前 |
Jakob Stoklund Olesen
|
160a3bf74d
Add StringRef::compare_numeric and use it to sort TableGen register records.
|
15 年之前 |