aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-12-16MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> v...Michael J. Spencer1-6/+9
2010-12-09Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code...Michael J. Spencer1-8/+7
2010-11-29Merge System into Support.Michael J. Spencer1-1/+1
2010-11-14FileCheck: Eliminate DOSish \r from input file.NAKAMURA Takumi1-0/+5
2010-10-15Teach FileCheck to handle trailing CHECK-NOT patterns.Jakob Stoklund Olesen1-9/+22
2010-08-20Trailing whitespace.Mikhail Glushenkov1-80/+80
2010-04-05stringref-ize the MemoryBuffer::get apis. This requiresChris Lattner1-4/+2
2010-03-19FileCheck: Don't print "possibly intended match" line if it would match theDaniel Dunbar1-5/+6
2010-01-30FileCheck: When looking for "possible matches", only compare against the prefixDaniel Dunbar1-1/+4
2010-01-29Minor code cleanup.Dan Gohman1-1/+1
2010-01-29Skip whitespace when looking for a potential intended match.Dan Gohman1-0/+5
2010-01-29Fix the position of the caret in the FileCheck error message.Dan Gohman1-1/+4
2010-01-29FileCheck: Switch "possible match" calculation to use StringRef::edit_distance.Daniel Dunbar1-6/+1
2009-11-29Fix FileCheck crash when fuzzy scanning starting at the end of the file.Daniel Dunbar1-1/+1
2009-11-22FileCheck, PR5239: Try to find the intended match on failures, but looking for aDaniel Dunbar1-4/+60
2009-11-22FileCheck: When a string using variable references fails to match, printDaniel Dunbar1-4/+50
2009-11-22Allow '_' in FileCheck variable names, it is nice to have at least oneDaniel Dunbar1-2/+3
2009-09-27implement and document support for filecheck variables. ThisChris Lattner1-43/+172
2009-09-26remove support for "NoSub" from regex. It seems like a minor optimizationChris Lattner1-1/+1
2009-09-25reject attempts to use ()'s in patterns, these are reserved for filecheck.Chris Lattner1-3/+15
2009-09-25reimplement the regex matching strategy by building a singleChris Lattner1-88/+51
2009-09-25special case Patterns that are a single fixed string. This is a microscopicChris Lattner1-0/+16
2009-09-25filecheck should not match a \n with a .Chris Lattner1-3/+1
2009-09-25turn a std::pair into a real class.Chris Lattner1-23/+34
2009-09-24add and document regex support for FileCheck. You can now do stuff like:Chris Lattner1-11/+116
2009-09-24Use CanonicalizeInputFile to canonicalize the entire buffer containing theChris Lattner1-57/+40
2009-09-24change 'not' matching to use Pattern, move pattern parsing logic intoChris Lattner1-32/+51
2009-09-24refactor out the match string into its own Pattern class.Chris Lattner1-33/+50
2009-09-21fix a FileCheck bug where:Chris Lattner1-3/+3
2009-09-20rewrite CountNumNewlinesBetween to be in terms of StringRef.Chris Lattner1-13/+15
2009-09-20implement and document support for CHECK-NOTChris Lattner1-8/+50
2009-09-20rewrite FileCheck in terms of StringRef instead of manual pointer pairs.Chris Lattner1-68/+37
2009-08-16when emitting errors about CHECK-NEXT directives, show the line that the Chris Lattner1-2/+6
2009-08-15implement support for CHECK-NEXT: in filecheck.Chris Lattner1-26/+105
2009-08-15simplify some code.Chris Lattner1-8/+13
2009-08-15rewrite FindStringInBuffer to use an explicit loop instead ofChris Lattner1-19/+27
2009-08-15Instead of using an std::pair, use a custom struct.Chris Lattner1-12/+21
2009-08-02Fix an ENABLE_EXPENSIVE_CHECKS error.Daniel Dunbar1-2/+3
2009-07-11Tweak comment.Daniel Dunbar1-2/+2
2009-07-11improve filecheck's "scanning from here" caret position.Chris Lattner1-0/+11
2009-07-11make filecheck default to canonicalizing horizontal whitespaceChris Lattner1-0/+66
2009-07-09stop on the first file mismatch.Chris Lattner1-0/+1
2009-07-08Add a new little "FileCheck" utility for regression testing.Chris Lattner1-0/+174