[FileCheck] Add docs for --allow-empty

This diff adds documentation for `allow-empty` flag under FileCheck
docs.

Reviewed by jhenderson, smeenai, thopre

Differential Revision: https://reviews.llvm.org/D83682
This commit is contained in:
Sameer Arora 2020-07-13 07:39:29 -07:00
parent 43b304b09f
commit d6c00edf2e
1 changed files with 5 additions and 1 deletions

View File

@ -181,6 +181,10 @@ and from the command line.
as old tests are migrated to the new non-overlapping ``CHECK-DAG:``
implementation.
.. option:: --allow-empty
Allow checking empty input. By default, empty input is rejected.
.. option:: --color
Use colors in output (autodetected by default).
@ -903,5 +907,5 @@ matches output of the form (from llvm-dwarfdump):
DW_AT_location [DW_FORM_sec_offset] (0x00000233)
DW_AT_name [DW_FORM_strp] ( .debug_str[0x000000c9] = "intd")
letting us set the :program:`FileCheck` variable ``DLOC`` to the desired value
letting us set the :program:`FileCheck` variable ``DLOC`` to the desired value
``0x00000233``, extracted from the line immediately preceding "``intd``".