diff options
author | Sameer Arora <sameerarora101@fb.com> | 2020-07-13 07:39:29 -0700 |
---|---|---|
committer | Sameer Arora <sameerarora101@fb.com> | 2020-08-07 13:27:57 -0700 |
commit | d6c00edf2eb8e6b1289d684e9f0fd1b576f081d6 (patch) | |
tree | 28a85046246f8a3e67c5777549e90cbf002bed2f /llvm/docs/CommandGuide/FileCheck.rst | |
parent | 43b304b09f892c305861de3113967c2714ab0d02 (diff) | |
download | llvm-d6c00edf2eb8e6b1289d684e9f0fd1b576f081d6.zip llvm-d6c00edf2eb8e6b1289d684e9f0fd1b576f081d6.tar.gz llvm-d6c00edf2eb8e6b1289d684e9f0fd1b576f081d6.tar.bz2 |
[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
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.rst')
-rw-r--r-- | llvm/docs/CommandGuide/FileCheck.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/FileCheck.rst b/llvm/docs/CommandGuide/FileCheck.rst index a7645fc..80c4853 100644 --- a/llvm/docs/CommandGuide/FileCheck.rst +++ b/llvm/docs/CommandGuide/FileCheck.rst @@ -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``". |