summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvmc')
-rw-r--r--llvm/tools/llvmc/doc/LLVMC-Reference.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/llvm/tools/llvmc/doc/LLVMC-Reference.rst b/llvm/tools/llvmc/doc/LLVMC-Reference.rst
index 66253ee0dca..6189ec21828 100644
--- a/llvm/tools/llvmc/doc/LLVMC-Reference.rst
+++ b/llvm/tools/llvmc/doc/LLVMC-Reference.rst
@@ -387,6 +387,9 @@ use TableGen inheritance instead.
user.
Example: ``(not_empty "o")``.
+ - ``empty`` - The opposite of ``not_empty``. Equivalent to ``(not (not_empty
+ X))``. Provided for convenience.
+
- ``default`` - Always evaluates to true. Should always be the last
test in the ``case`` expression.
@@ -487,7 +490,11 @@ The list of all possible actions follows.
- ``append_cmd`` - append a string to the tool invocation
command.
- Example: ``(case (switch_on "pthread"), (append_cmd "-lpthread"))``
+ Example: ``(case (switch_on "pthread"), (append_cmd
+ "-lpthread"))``
+
+ - ``error` - exit with error.
+ Example: ``(error "Mixing -c and -S is not allowed!")``.
- ``forward`` - forward an option unchanged.
Example: ``(forward "Wall")``.
OpenPOWER on IntegriCloud