[llvm] d6c00ed - [FileCheck] Add docs for --allow-empty

Sameer Arora via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 13:28:12 PDT 2020


Author: Sameer Arora
Date: 2020-08-07T13:27:57-07:00
New Revision: d6c00edf2eb8e6b1289d684e9f0fd1b576f081d6

URL: https://github.com/llvm/llvm-project/commit/d6c00edf2eb8e6b1289d684e9f0fd1b576f081d6
DIFF: https://github.com/llvm/llvm-project/commit/d6c00edf2eb8e6b1289d684e9f0fd1b576f081d6.diff

LOG: [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

Added: 
    

Modified: 
    llvm/docs/CommandGuide/FileCheck.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/FileCheck.rst b/llvm/docs/CommandGuide/FileCheck.rst
index a7645fc9f7fd..80c48534959e 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``".


        


More information about the llvm-commits mailing list