aboutsummaryrefslogtreecommitdiffstats
path: root/test/FileCheck/simple-var-capture.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in FileCheck that wouldn't let define variables as follows:Eli Bendersky2012-12-021-1/+2
| | | | | | | | | | | | | | | ; CHECK: [[VAR:[a-z]]] The problem was that to find the end of the regex var definition, it was simplistically looking for the next ]] and finding the incorrect one. A better approach is to count nesting of brackets (taking escaping into account). This way the brackets that are part of the regex can be discovered and skipped properly, and the ]] ending is detected in the right place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169109 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some tests for the FileCheck utility.Eli Bendersky2012-11-151-0/+12
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121112/156007.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168113 91177308-0d34-0410-b5e6-96231b3b80d8