1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Document !and. Fix !shl and friends -- they provide binary operations.

llvm-svn: 217034
This commit is contained in:
Joerg Sonnenberger 2014-09-03 13:17:03 +00:00
parent 966a2425c3
commit eb6731f053
2 changed files with 3 additions and 3 deletions

View File

@ -211,8 +211,8 @@ supported include:
on string, int and bit objects. Use !cast<string> to compare other types of
objects.
``!shl(a,b)`` ``!srl(a,b)`` ``!sra(a,b)`` ``!add(a,b)``
The usual logical and arithmetic operators.
``!shl(a,b)`` ``!srl(a,b)`` ``!sra(a,b)`` ``!add(a,b)`` ``!and(a,b)``
The usual binary and arithmetic operators.
Note that all of the values have rules specifying how they convert to values
for different types. These rules allow you to assign a value like "``7``"

View File

@ -96,7 +96,7 @@ wide variety of meanings:
.. productionlist::
BangOperator: one of
:!eq !if !head !tail !con
:!add !shl !sra !srl
:!add !shl !sra !srl !and
:!cast !empty !subst !foreach !listconcat !strconcat
Syntax