aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/StringRef.cpp
AgeCommit message (Expand)Author
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-10-02Improve overflow detection in StringRef::getAsUnsignedInteger().Nick Kledzik
2012-05-11[Support/StringRef] Add find_last_not_of and {r,l,}trim.Michael J. Spencer
2012-04-23Don't die with an assertion if the Result bitwidth is already correct. ThisChris Lattner
2012-04-21No need for "else if" after a return. Autosense "0o123" as octal inChris Lattner
2012-03-10Make StringRef::getAsInteger work with all integer types. Before this changeMichael J. Spencer
2012-03-04Add generic support for hashing StringRef objects using the new hashing library.Chandler Carruth
2012-02-24Workaround a miscompilation by gcc-4.3 that showed up as a failureDuncan Sands
2012-02-21Move the implementation of StringRef::split out of StringExtras.cppDuncan Sands
2012-02-15Add function for computing the edit distance of two arrays.Kaelyn Uhrain
2011-11-06Fix a typo.Benjamin Kramer
2011-11-06ADT/StringRef: Add ::lower() and ::upper() methods.Daniel Dunbar
2011-10-17Fix handling of the From parameter in StringRef::find.Benjamin Kramer
2011-10-15Add a bad char heuristic to StringRef::find.Benjamin Kramer
2011-09-30Fix a bug in compare_numeric().Jakob Stoklund Olesen
2011-04-28Remove bounded StringRef::compare() since nothing but Clang SA was using it a...Lenny Maiorani
2011-04-15Implements StringRef::compare with bounds. It is behaves similarly to strncmp...Lenny Maiorani
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-11-30Support/ADT/StringRef: Add find_last_of.Michael J. Spencer
2010-11-26Fix Whitespace.Michael J. Spencer
2010-11-07Fix memory leak in StringRef::edit_distance(). 'Allocated' could be leaked o...Ted Kremenek
2010-10-19Extend StringRef's edit-distance algorithm to permit an upper bound on the al...Douglas Gregor
2010-08-26StringRef::compare_numeric also differed from StringRef::compare for characte...Benjamin Kramer
2010-08-26Do unsigned char comparisons in StringRef::compare_lower to be more consisten...Benjamin Kramer
2010-08-23Avoid O(n*m) complexity in StringRef::find_first(_not)_of(StringRef).Benjamin Kramer
2010-05-26Add StringRef::compare_numeric and use it to sort TableGen register records.Jakob Stoklund Olesen
2010-02-28Add an override to StringRef::getAsInteger which parses into an APInt.John McCall
2010-01-07More trivial optimizations to a function well outside the critical pathDouglas Gregor
2010-01-07Switch StringRef::edit_distance over to using raw pointers, since bothDouglas Gregor
2009-12-31Document the edit-distance algorithm used in StringRef, switch it overDouglas Gregor
2009-12-30Implement edit distance for StringRefDouglas Gregor
2009-11-19Use StringRef::min instead of std::min.Daniel Dunbar
2009-11-12Add compare_lower and equals_lower methods to StringRef. Switch all users ofBenjamin Kramer
2009-11-11Add From arguments to StringRef search functions, and tweak doxyments.Daniel Dunbar
2009-11-06Pass StringRef by value.Daniel Dunbar
2009-09-22Workaround what I believe is an MSVC bug where it emits a definition for aDaniel Dunbar
2009-09-20simplify as daniel suggestsChris Lattner
2009-09-20move a couple non-trivial methods out of line, add new Chris Lattner
2009-09-19add some more overloads of StringRef::getAsInteger forChris Lattner
2009-09-19provide a "strtoull" operation that works on StringRef's.Chris Lattner
2009-09-16Add StringRef::{rfind, rsplit}Daniel Dunbar