summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitefa19619c8a59a7408fbd54e804072c8186cb667 (patch)
tree56ffa278d3faa4552c7c77a4a5c275493172b48c /llvm/docs/TableGenFundamentals.html
parentfd42c8a56765fcbd51776965604d5ed33c9c0282 (diff)
downloadbcm5719-llvm-efa19619c8a59a7408fbd54e804072c8186cb667.tar.gz
bcm5719-llvm-efa19619c8a59a7408fbd54e804072c8186cb667.zip
Implement !cast<string>.
llvm-svn: 74444
Diffstat (limited to 'llvm/docs/TableGenFundamentals.html')
-rw-r--r--llvm/docs/TableGenFundamentals.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/docs/TableGenFundamentals.html b/llvm/docs/TableGenFundamentals.html
index 05b2b233e6a..ec87f2967cb 100644
--- a/llvm/docs/TableGenFundamentals.html
+++ b/llvm/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>
OpenPOWER on IntegriCloud