[PATCH] D83682: [FileCheck] Add docs for --allow-empty

Sameer Arora via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 06:47:51 PDT 2020


sameerarora101 updated this revision to Diff 277812.
sameerarora101 added a comment.

Specifying default behavior.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83682/new/

https://reviews.llvm.org/D83682

Files:
  llvm/docs/CommandGuide/FileCheck.rst


Index: llvm/docs/CommandGuide/FileCheck.rst
===================================================================
--- llvm/docs/CommandGuide/FileCheck.rst
+++ llvm/docs/CommandGuide/FileCheck.rst
@@ -155,6 +155,10 @@
   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).
@@ -828,5 +832,5 @@
        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``".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83682.277812.patch
Type: text/x-patch
Size: 867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200714/9150afb3/attachment.bin>


More information about the llvm-commits mailing list