aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringRefTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-04-12Retire llvm::array_endof in favor of non-member std::end.Benjamin Kramer1-0/+1
2014-02-05Fix layering StringRef copy using BumpPtrAllocator.Nick Kledzik1-0/+15
2014-01-27Roll back the ConstStringRef change for nowAlp Toker1-18/+0
2014-01-27StringRef: Extend constexpr capabilities and introduce ConstStringRefAlp Toker1-0/+18
2014-01-07Re-sort all of the includes with ./utils/sort_includes.py so thatChandler Carruth1-1/+1
2013-10-30Add {start,end}with_lower methods to StringRef.Rui Ueyama1-0/+23
2013-10-28Add a few tests for StringRef::{start,end}with.Rui Ueyama1-0/+2
2013-09-03Add a Python-like join function to merge a list of strings with aJoerg Sonnenberger1-0/+27
2012-12-04Sort the #include lines for unittest/...Chandler Carruth1-1/+1
2012-10-03Use unsigned long long instead of uin64_t for OS where that matters.Nick Kledzik1-1/+1
2012-10-03Don't call getAsUnsignedInteger directly, it fails to compile if uint64_t is ...Benjamin Kramer1-1/+5
2012-10-03Add getAsUnsignedInteger test case that checks that known bad values are reje...Nick Kledzik1-0/+19
2012-05-11[Support/StringRef] Add find_last_not_of and {r,l,}trim.Michael J. Spencer1-0/+28
2012-03-11Fix warnings.Michael J. Spencer1-4/+4
2012-03-10Make StringRef::getAsInteger work with all integer types. Before this changeMichael J. Spencer1-0/+118
2012-03-04Add generic support for hashing StringRef objects using the new hashing library.Chandler Carruth1-0/+19
2011-10-15Add a bad char heuristic to StringRef::find.Benjamin Kramer1-0/+6
2011-09-30Fix a bug in compare_numeric().Jakob Stoklund Olesen1-0/+6
2011-04-28Remove bounded StringRef::compare() since nothing but Clang SA was using it a...Lenny Maiorani1-13/+0
2011-04-15Implements StringRef::compare with bounds. It is behaves similarly to strncmp...Lenny Maiorani1-0/+13
2011-01-27Don't infinitely recurse! Patch by Marius Wachtler!Chris Lattner1-1/+1
2010-08-26StringRef::compare_numeric also differed from StringRef::compare for characte...Benjamin Kramer1-0/+1
2010-08-26Do unsigned char comparisons in StringRef::compare_lower to be more consisten...Benjamin Kramer1-0/+8
2010-05-26Add StringRef::compare_numeric and use it to sort TableGen register records.Jakob Stoklund Olesen1-0/+11
2009-12-31Silence compiler warning.Benjamin Kramer1-1/+1
2009-12-31Document the edit-distance algorithm used in StringRef, switch it overDouglas Gregor1-0/+5
2009-12-24Move the two definitions of operator<< into namespace llvm, so theyDouglas Gregor1-1/+4
2009-12-21Change StringRef::startswith and StringRef::endswith to versions which are aEli Friedman1-0/+8
2009-11-19Reenable Split2 StringRef test with Apple gcc.Benjamin Kramer1-6/+0
2009-11-17"XFAIL" the Split2 StringReft test with Apple gcc, which miscompiles it.Daniel Dunbar1-0/+6
2009-11-13Distinguish "a," from "a". The first one splits into "a" + "" and the second ...Rafael Espindola1-0/+5
2009-11-13Switch to smallvector. Also fix issue with using unsigend for MaxSplit.Rafael Espindola1-2/+3
2009-11-13Add a new split method to StringRef that puts the substrings in a vector.Rafael Espindola1-0/+75
2009-11-11Add From arguments to StringRef search functions, and tweak doxyments.Daniel Dunbar1-0/+10
2009-09-16Add StringRef::{rfind, rsplit}Daniel Dunbar1-42/+90
2009-08-18Fix pasto in StringRef::count(char)Daniel Dunbar1-0/+1
2009-08-18Add StringRef::count({char,StringRef})Daniel Dunbar1-0/+7
2009-08-11StringRef: Add find(char) and find(StringRef).Daniel Dunbar1-0/+7
2009-07-26Add StringRef::{slice, split}, two convenient string operations which are simpleDaniel Dunbar1-0/+15
2009-07-22Support writing a StringRef to a raw_ostream directly.Daniel Dunbar1-0/+6
2009-07-21Add StringRef::{substr, startswith}.Daniel Dunbar1-0/+12
2009-07-21Add StringRef class, with fixes.Daniel Dunbar1-0/+59