summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-01-07 17:05:37 +0000
committerDavid Greene <greened@obbligato.org>2011-01-07 17:05:37 +0000
commit1434f66b2e132a707e2c8ccb3350ea13fb5aa051 (patch)
tree4802d84c0730654fc43566fdb31ce9ac1fbe528c /docs
parent50dd09bd8592822214ff5fd66cffc3421b92d079 (diff)
downloadllvm-1434f66b2e132a707e2c8ccb3350ea13fb5aa051.tar.gz
llvm-1434f66b2e132a707e2c8ccb3350ea13fb5aa051.tar.bz2
llvm-1434f66b2e132a707e2c8ccb3350ea13fb5aa051.tar.xz
Rename lisp-like functions as suggested by Gabor Greif as loooong time
ago. This is both easier to learn and easier to read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/TableGenFundamentals.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index f09e0d0642..de46a391f3 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -412,11 +412,11 @@ be an object defined by a 'def' construct.</dd>
<dd>For each member 'b' of dag or list 'a' apply operator 'c.' 'b' is a
dummy variable that should be declared as a member variable of an instantiated
class. This operation is analogous to $(foreach) in GNU make.</dd>
-<dt><tt>!car(a)</tt></dt>
+<dt><tt>!head(a)</tt></dt>
<dd>The first element of list 'a.'</dd>
-<dt><tt>!cdr(a)</tt></dt>
+<dt><tt>!tail(a)</tt></dt>
<dd>The 2nd-N elements of list 'a.'</dd>
-<dt><tt>!null(a)</tt></dt>
+<dt><tt>!empty(a)</tt></dt>
<dd>An integer {0,1} indicating whether list 'a' is empty.</dd>
<dt><tt>!if(a,b,c)</tt></dt>
<dd>'b' if the result of 'int' or 'bit' operator 'a' is nonzero,