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

Sameer Arora via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 07:48:05 PDT 2020


sameerarora101 created this revision.
sameerarora101 added reviewers: bogner, jhenderson, smeenai, alexshap, Ktwu.
Herald added subscribers: llvm-commits, thopre.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

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.
+
 .. 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.277433.patch
Type: text/x-patch
Size: 830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200713/8b4bb1e8/attachment.bin>


More information about the llvm-commits mailing list