diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-09-28 01:16:42 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-09-28 01:16:42 +0000 |
commit | ad981bfbccedd4e8c139f27db4bbc49ef3e783b9 (patch) | |
tree | 918743cbb6adb1dc4e0e7ace612d2af513c2c213 /tools/llvmc/doc | |
parent | d66e8de8385597688e0456307861e4f8173258fd (diff) | |
download | llvm-ad981bfbccedd4e8c139f27db4bbc49ef3e783b9.tar.gz llvm-ad981bfbccedd4e8c139f27db4bbc49ef3e783b9.tar.bz2 llvm-ad981bfbccedd4e8c139f27db4bbc49ef3e783b9.tar.xz |
Add a way to query the number of input files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/doc')
-rw-r--r-- | tools/llvmc/doc/LLVMC-Reference.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst index 7e609a7bc3..5d3b02a169 100644 --- a/tools/llvmc/doc/LLVMC-Reference.rst +++ b/tools/llvmc/doc/LLVMC-Reference.rst @@ -458,6 +458,13 @@ use TableGen inheritance instead. - ``empty`` - The opposite of ``not_empty``. Equivalent to ``(not (not_empty X))``. Provided for convenience. + - ``single_input_file`` - Returns true if there was only one input file + provided on the command-line. Used without arguments: + ``(single_input_file)``. + + - ``multiple_input_files`` - Equivalent to ``(not (single_input_file))`` (the + case of zero input files is considered an error). + - ``default`` - Always evaluates to true. Should always be the last test in the ``case`` expression. |