Skip to content

Commit af7c883

Browse files
author
klensy
committed
update doc
1 parent 0447546 commit af7c883

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: llvm/docs/CommandGuide/FileCheck.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ and from the command line.
4343
"``:``") one or more prefixes to match. Multiple prefixes are useful for tests
4444
which might change for different run options, but most lines remain the same.
4545

46-
FileCheck does not permit duplicate prefixes, even if one is a check prefix
47-
and one is a comment prefix (see :option:`--comment-prefixes` below).
46+
FileCheck does not permit:
47+
48+
* duplicate prefixes, even if one is a check prefix and one is a comment prefix (see :option:`--comment-prefixes` below).
49+
* check prefixes ending with directives (i.e. ``--check-prefix=FOO-NEXT``)
4850

4951
.. option:: --check-prefixes prefix1,prefix2,...
5052

0 commit comments

Comments
 (0)