aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-08-26StringRef::compare_numeric also differed from StringRef::compare for characte...Benjamin Kramer1-1/+1
2010-08-26Do unsigned char comparisons in StringRef::compare_lower to be more consisten...Benjamin Kramer1-4/+4
2010-08-23Avoid O(n*m) complexity in StringRef::find_first(_not)_of(StringRef).Benjamin Kramer1-4/+13
2010-05-26Add StringRef::compare_numeric and use it to sort TableGen register records.Jakob Stoklund Olesen1-0/+28
2010-02-28Add an override to StringRef::getAsInteger which parses into an APInt.John McCall1-12/+93
2010-01-07More trivial optimizations to a function well outside the critical pathDouglas Gregor1-15/+8
2010-01-07Switch StringRef::edit_distance over to using raw pointers, since bothDouglas Gregor1-7/+25
2009-12-31Document the edit-distance algorithm used in StringRef, switch it overDouglas Gregor1-5/+14
2009-12-30Implement edit distance for StringRefDouglas Gregor1-0/+31
2009-11-19Use StringRef::min instead of std::min.Daniel Dunbar1-5/+5
2009-11-12Add compare_lower and equals_lower methods to StringRef. Switch all users ofBenjamin Kramer1-0/+20
2009-11-11Add From arguments to StringRef search functions, and tweak doxyments.Daniel Dunbar1-9/+24
2009-11-06Pass StringRef by value.Daniel Dunbar1-3/+3
2009-09-22Workaround what I believe is an MSVC bug where it emits a definition for aDaniel Dunbar1-0/+3
2009-09-20simplify as daniel suggestsChris Lattner1-16/+9
2009-09-20move a couple non-trivial methods out of line, add new Chris Lattner1-0/+71
2009-09-19add some more overloads of StringRef::getAsInteger forChris Lattner1-0/+45
2009-09-19provide a "strtoull" operation that works on StringRef's.Chris Lattner1-0/+63
2009-09-16Add StringRef::{rfind, rsplit}Daniel Dunbar1-0/+13