Document the 'not' combinator.

llvm-svn: 82956
This commit is contained in:
Mikhail Glushenkov 2009-09-28 01:16:07 +00:00
parent 1766617386
commit b7787297f5
1 changed files with 10 additions and 7 deletions

View File

@ -461,14 +461,17 @@ use TableGen inheritance instead.
- ``default`` - Always evaluates to true. Should always be the last
test in the ``case`` expression.
- ``and`` - A standard logical combinator that returns true iff all
of its arguments return true. Used like this: ``(and (test1),
(test2), ... (testN))``. Nesting of ``and`` and ``or`` is allowed,
but not encouraged.
- ``and`` - A standard binary logical combinator that returns true iff all of
its arguments return true. Used like this: ``(and (test1), (test2),
... (testN))``. Nesting of ``and`` and ``or`` is allowed, but not
encouraged.
- ``or`` - A binary logical combinator that returns true iff any of its
arguments returns true. Example: ``(or (test1), (test2), ... (testN))``.
- ``not`` - Standard unary logical combinator that negates its
argument. Example: ``(not (or (test1), (test2), ... (testN)))``.
- ``or`` - Another logical combinator that returns true only if any
one of its arguments returns true. Example: ``(or (test1),
(test2), ... (testN))``.
Writing a tool description