Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
34c4485b7479a12b5ef1cb15d27e96277e8a499a
/
lib
/
Support
/
StringRef.cpp
6cf081c
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.
by Lenny Maiorani
· 14 years ago
437ef0c
Implements StringRef::compare with bounds. It is behaves similarly to strncmp(). Unit tests also included.
by Lenny Maiorani
· 14 years ago
7a2bdde
Fix a ton of comment typos found by codespell. Patch by
by Chris Lattner
· 14 years ago
40f8f62
PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and
by Jay Foad
· 15 years ago
63c133b
Support/ADT/StringRef: Add find_last_of.
by Michael J. Spencer
· 15 years ago
326990f
Fix Whitespace.
by Michael J. Spencer
· 15 years ago
13302ec
Fix memory leak in StringRef::edit_distance(). 'Allocated' could be leaked on an early return.
by Ted Kremenek
· 15 years ago
5ee568a
Extend StringRef's edit-distance algorithm to permit an upper bound on the allowed edit distance
by Douglas Gregor
· 15 years ago
837bccd
StringRef::compare_numeric also differed from StringRef::compare for characters > 127.
by Benjamin Kramer
· 15 years ago
0043e35
Do unsigned char comparisons in StringRef::compare_lower to be more consistent with compare in corner cases.
by Benjamin Kramer
· 15 years ago
250eb00
Avoid O(n*m) complexity in StringRef::find_first(_not)_of(StringRef).
by Benjamin Kramer
· 15 years ago
160a3bf
Add StringRef::compare_numeric and use it to sort TableGen register records.
by Jakob Stoklund Olesen
· 15 years ago
1e7ad39
Add an override to StringRef::getAsInteger which parses into an APInt.
by John McCall
· 15 years ago
2772ea8
More trivial optimizations to a function well outside the critical path
by Douglas Gregor
· 16 years ago
ad6b6da
Switch StringRef::edit_distance over to using raw pointers, since both
by Douglas Gregor
· 16 years ago
7e54d5b
Document the edit-distance algorithm used in StringRef, switch it over
by Douglas Gregor
· 16 years ago
441c8b4
Implement edit distance for StringRef
by Douglas Gregor
· 16 years ago
58ce7ac
Use StringRef::min instead of std::min.
by Daniel Dunbar
· 16 years ago
05872ea
Add compare_lower and equals_lower methods to StringRef. Switch all users of
by Benjamin Kramer
· 16 years ago
64066bd
Add From arguments to StringRef search functions, and tweak doxyments.
by Daniel Dunbar
· 16 years ago
2928c83
Pass StringRef by value.
by Daniel Dunbar
· 16 years ago
77696be
Workaround what I believe is an MSVC bug where it emits a definition for a
by Daniel Dunbar
· 16 years ago
6441e54
simplify as daniel suggests
by Chris Lattner
· 16 years ago
05a32c8
move a couple non-trivial methods out of line, add new
by Chris Lattner
· 16 years ago
63c6b7d
add some more overloads of StringRef::getAsInteger for
by Chris Lattner
· 16 years ago
cea1438
provide a "strtoull" operation that works on StringRef's.
by Chris Lattner
· 16 years ago
e655128
Add StringRef::{rfind, rsplit}
by Daniel Dunbar
· 16 years ago