diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-15 17:47:12 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-15 17:47:12 +0000 |
commit | 824c10ece26fd031591b1770acc8a6c2575a3ab8 (patch) | |
tree | b3ba4ecc4aa070a2c687ab80f7ed23744e049833 /docs/CommandGuide/FileCheck.pod | |
parent | 6bdc8ae2916d20740790e0618692df7dac598cd0 (diff) |
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
Diffstat (limited to 'docs/CommandGuide/FileCheck.pod')
-rw-r--r-- | docs/CommandGuide/FileCheck.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CommandGuide/FileCheck.pod b/docs/CommandGuide/FileCheck.pod index 433979a871..8a8eddfde4 100644 --- a/docs/CommandGuide/FileCheck.pod +++ b/docs/CommandGuide/FileCheck.pod @@ -165,7 +165,7 @@ directive in a file. =head2 The "CHECK-NOT:" directive The CHECK-NOT: directive is used to verify that a string doesn't occur -between two matches (or the first match and the beginning of the file). For +between two matches (or before the first match, or after the last match). For example, to verify that a load is removed by a transformation, a test like this can be used: |