summaryrefslogtreecommitdiff
path: root/docs/TableGenFundamentals.html
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-06-29 20:05:29 +0000
committerDavid Greene <greened@obbligato.org>2009-06-29 20:05:29 +0000
commit2c0266202dc10a1ff887a8829950b6548d7feee3 (patch)
tree7602d2d14c92e214060c3c517e95cb3f3e7640f8 /docs/TableGenFundamentals.html
parent67acdf2977595a1d9755bf919d678f80ee65364f (diff)
downloadllvm-2c0266202dc10a1ff887a8829950b6548d7feee3.tar.gz
llvm-2c0266202dc10a1ff887a8829950b6548d7feee3.tar.bz2
llvm-2c0266202dc10a1ff887a8829950b6548d7feee3.tar.xz
Implement !cast<string>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGenFundamentals.html')
-rw-r--r--docs/TableGenFundamentals.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index 05b2b233e6..ec87f2967c 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -411,7 +411,8 @@ which case the user must specify it explicitly.</dd>
<dt><tt>!cast<type>(a)</tt></dt>
<dd>A symbol of type <em>type</em> obtained by looking up the string 'a' in
the symbol table. If the type of 'a' does not match <em>type</em>, TableGen
-aborts with an error. </dd>
+aborts with an error. !cast<string> is a special case in that the argument must
+be an object defined by a 'def' construct.</dd>
<dt><tt>!nameconcat&lt;type&gt;(a, b)</tt></dt>
<dd>Shorthand for !cast<type>(!strconcat(a, b))</dd>
<dt><tt>!subst(a, b, c)</tt></dt>