aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Regex.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-07-02[ASTMatchers] Enhanced support for matchers taking Regex argumentsNathan James1-1/+4
2020-03-02Explicitly include <cassert> when using assertJoerg Sonnenberger1-0/+1
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer1-1/+1
2019-09-24Regex: Make "match" and "sub" const member functionsThomas Preud'homme1-12/+27
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-03-12Fix compilation on Darwin with expensive checks.Jonas Devlieghere1-5/+10
2017-04-18Add const to a const method. NFCGeorge Burgess IV1-1/+1
2016-09-02[Support] - Fix possible crash in match() of llvm::Regex.George Rimar1-0/+10
2016-09-01[Support] Fix a warning introduced in r280339 due to the memberChandler Carruth1-1/+1
2016-09-01[LLVM/Support] - Create no-arguments constructor for llvm::RegexGeorge Rimar1-0/+2
2015-03-30Remove more superfluous .str() and replace std::string concatenation with Twine.Yaron Keren1-1/+2
2015-03-23Purge unused includes throughout libSupport.Benjamin Kramer1-2/+1
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-1/+1
2014-01-02Make llvm::Regex non-copyable but movable.David Blaikie1-2/+4
2013-12-12Add missing escape characters to the new Regex::escape() functionAlp Toker1-21/+6
2013-12-12Expose FileCheck's AddFixedStringToRegEx as Regex::escapeHans Wennborg1-0/+29
2013-08-08Fix off-by-one error in Regex::isValidAlexey Samsonov1-1/+1
2013-08-05Introduce Regex::isLiteralERE function.Peter Collingbourne1-0/+7
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-2/+2
2012-11-28Add backreference matching capabilities to Support/Regex, withEli Bendersky1-1/+3
2011-04-09regexes are allowed to match empty things, e.g. {{.*}} in filecheck.Chris Lattner1-1/+1
2010-07-14Don't pass StringRef by reference.Benjamin Kramer1-2/+2
2010-02-17Add Regex::sub, for doing regular expression substitution with backreferences.Daniel Dunbar1-0/+76
2009-09-26remove support for "NoSub" from regex. It seems like a minor optimizationChris Lattner1-15/+12
2009-09-24add and document regex support for FileCheck. You can now do stuff like:Chris Lattner1-2/+3
2009-09-24tidy up, fix a memory leak in Regex::isValidChris Lattner1-13/+10
2009-08-30Add regular expression matching support, based on OpenBSD regexec()/regcomp()Torok Edwin1-0/+97