aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-01-06[APFloat] Add recoverable string parsing errors to APFloatEhud Katz1-2/+8
2020-01-01[polly][Support] Un-break polly testsAlexandre Ganea1-1/+1
2019-12-24[Support] Fix behavior of StringRef::count with overlapping occurrences, add ...Johannes Doerfert1-2/+7
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-07-30Remove trailing spaceFangrui Song1-1/+1
2017-12-19Fix APFloat from string conversion for InfSerguei Katkov1-1/+1
2017-11-28[Support] Merge toLower / toUpper implementationsFrancis Visoiu Mistrih1-27/+12
2017-02-14[Support] Add StringRef::getAsDouble.Zachary Turner1-0/+13
2016-12-11Tweak the core loop in StringRef::find to avoid calling memcmp on everyChandler Carruth1-6/+12
2016-11-12[Support] Add StringRef::find_lower and contains_lower.Zachary Turner1-0/+39
2016-09-22Speculative fix for build failures due to consumeInteger.Zachary Turner1-0/+3
2016-09-22[Support] Add StringRef::consumeInteger.Zachary Turner1-25/+55
2016-03-18[MCParser] Accept uppercase radix variants 0X and 0BColin LeMahieu1-2/+2
2015-09-10[ADT] Rewrite the StringRef::find implementation to be simpler, clearer,Chandler Carruth1-16/+23
2015-09-10[ADT] Fix a confusing interface spec and some annoying peculiaritiesChandler Carruth1-31/+43
2015-09-10[ADT] Add a single-character version of the small vector split routineChandler Carruth1-0/+20
2014-08-27Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just...Craig Topper1-2/+2
2014-08-21Remove custom implementations of max/min in StringRef that was originally add...Craig Topper1-9/+9
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-2/+2
2014-03-06Replace OwningPtr<T> with std::unique_ptr<T>.Ahmed Charles1-1/+0
2013-10-30Add {start,end}with_lower methods to StringRef.Rui Ueyama1-5/+24
2013-08-24Added const qualifier to StringRef::edit_distance member functionDmitri Gribenko1-1/+1
2013-07-08Revert r185852.Manman Ren1-5/+0
2013-07-08StringRef: add DenseMapInfo for StringRef.Manman Ren1-0/+5
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-2/+1
2012-10-02Improve overflow detection in StringRef::getAsUnsignedInteger().Nick Kledzik1-2/+2
2012-05-11[Support/StringRef] Add find_last_not_of and {r,l,}trim.Michael J. Spencer1-0/+26
2012-04-23Don't die with an assertion if the Result bitwidth is already correct. ThisChris Lattner1-1/+1
2012-04-21No need for "else if" after a return. Autosense "0o123" as octal inChris Lattner1-4/+12
2012-03-10Make StringRef::getAsInteger work with all integer types. Before this changeMichael J. Spencer1-29/+7
2012-03-04Add generic support for hashing StringRef objects using the new hashing library.Chandler Carruth1-0/+7
2012-02-24Workaround a miscompilation by gcc-4.3 that showed up as a failureDuncan Sands1-1/+1
2012-02-21Move the implementation of StringRef::split out of StringExtras.cppDuncan Sands1-0/+21
2012-02-15Add function for computing the edit distance of two arrays.Kaelyn Uhrain1-51/+5
2011-11-06Fix a typo.Benjamin Kramer1-1/+1
2011-11-06ADT/StringRef: Add ::lower() and ::upper() methods.Daniel Dunbar1-0/+26
2011-10-17Fix handling of the From parameter in StringRef::find.Benjamin Kramer1-2/+5
2011-10-15Add a bad char heuristic to StringRef::find.Benjamin Kramer1-3/+26
2011-09-30Fix a bug in compare_numeric().Jakob Stoklund Olesen1-6/+13
2011-04-28Remove bounded StringRef::compare() since nothing but Clang SA was using it a...Lenny Maiorani1-21/+0
2011-04-15Implements StringRef::compare with bounds. It is behaves similarly to strncmp...Lenny Maiorani1-0/+21
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-2/+2
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad1-1/+1
2010-11-30Support/ADT/StringRef: Add find_last_of.Michael J. Spencer1-0/+15
2010-11-26Fix Whitespace.Michael J. Spencer1-20/+20
2010-11-07Fix memory leak in StringRef::edit_distance(). 'Allocated' could be leaked o...Ted Kremenek1-5/+6
2010-10-19Extend StringRef's edit-distance algorithm to permit an upper bound on the al...Douglas Gregor1-1/+8
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