summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/FileCheck.pod
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-15 17:47:12 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-15 17:47:12 +0000
commiteba55822d7087fc8da9c172ea2e8e4d836e4139d (patch)
treea2aebda0cecd5a473446f357b29e9cab8e41a7b8 /llvm/docs/CommandGuide/FileCheck.pod
parentd15723c22aa3df75174f77f9d3059efc4dc0f9c5 (diff)
downloadbcm5719-llvm-eba55822d7087fc8da9c172ea2e8e4d836e4139d.tar.gz
bcm5719-llvm-eba55822d7087fc8da9c172ea2e8e4d836e4139d.zip
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. llvm-svn: 116592
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.pod')
-rw-r--r--llvm/docs/CommandGuide/FileCheck.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/FileCheck.pod b/llvm/docs/CommandGuide/FileCheck.pod
index 433979a8719..8a8eddfde45 100644
--- a/llvm/docs/CommandGuide/FileCheck.pod
+++ b/llvm/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:
OpenPOWER on IntegriCloud