Teach FileCheck to handle trailing CHECK-NOT patterns.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 15 Oct 2010 17:47:12 +0000 (17:47 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 15 Oct 2010 17:47:12 +0000 (17:47 +0000)
commit824c10ece26fd031591b1770acc8a6c2575a3ab8
treeb3ba4ecc4aa070a2c687ab80f7ed23744e049833
parent6bdc8ae2916d20740790e0618692df7dac598cd0
Teach FileCheck to handle trailing CHECK-NOT patterns.

A CHECK-NOT pattern without a following CHECK pattern simply checks that the
pattern doesn't match before the end of the input file.

You can even have only CHECK-NOT patterns to check that strings appear nowhere
in the input file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116592 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CommandGuide/FileCheck.pod
utils/FileCheck/FileCheck.cpp