aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
AgeCommit message (Expand)AuthorFilesLines
2023-01-15[ADT] Forward some StringRef::find overloads to std::string_viewBenjamin Kramer1-13/+2
2023-01-05Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ partserge-sans-paille1-5/+4
2022-10-27[Support] Use find() for faster StringRef::count (NFC)Tatsuyuki Ishi1-8/+8
2022-10-15[ADT] Introduce StringRef::{starts,ends}_width{,_insensitive}Kazu Hirata1-2/+2
2022-10-09[Support] Add fast path for StringRef::find with needle of length 2.Tatsuyuki Ishi1-0/+12
2022-06-05[ADT] Add edit_distance_insensitive to StringRefNathan James1-0/+7
2022-01-24Move STLFunctionalExtras out of STLExtrasserge-sans-paille1-0/+8
2021-12-02[llvm] Use range-based for loops (NFC)Kazu Hirata1-8/+8
2021-06-25[ADT] Rename StringRef case insensitive methods for clarityMartin Storsjö1-12/+9
2020-05-21[StringRef] Use some trickery to avoid initializing the std::string returned ...Benjamin Kramer1-10/+4
2020-04-22Make some static class members constexprBenjamin Kramer1-1/+1
2020-01-09[APFloat] Fix checked error assert failuresEhud Katz1-5/+3
2020-01-06[APFloat] Fix compilation warningsEhud Katz1-1/+1
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