fix a FileCheck bug where:

; CHECK: foo
; CHECK-NOT: foo
; CHECK: bar

would always fail.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82424 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-09-21 02:30:42 +00:00
parent 06e483dae0
commit 8111576521
2 changed files with 3 additions and 4 deletions

View File

@ -73,7 +73,6 @@ F:
; CHECK: @coerce_mustalias4
; CHECK: %A = load i32* %P
; CHECK: bitcast
; CHECK-NOT: load
; CHECK: ret float
; CHECK: F:

View File

@ -361,10 +361,10 @@ int main(int argc, char **argv) {
}
// Otherwise, everything is good. Remember this as the last match and move
// on to the next one.
LastMatch = Buffer.data();
// Otherwise, everything is good. Step over the matched text and remember
// the position after the match as the end of the last match.
Buffer = Buffer.substr(CheckStr.Str.size());
LastMatch = Buffer.data();
}
return 0;