From 2c0266202dc10a1ff887a8829950b6548d7feee3 Mon Sep 17 00:00:00 2001 From: David Greene Date: Mon, 29 Jun 2009 20:05:29 +0000 Subject: Implement !cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74444 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/TableGenFundamentals.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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.
!cast(a)
A symbol of type type obtained by looking up the string 'a' in the symbol table. If the type of 'a' does not match type, TableGen -aborts with an error.
+aborts with an error. !cast is a special case in that the argument must +be an object defined by a 'def' construct.
!nameconcat<type>(a, b)
Shorthand for !cast(!strconcat(a, b))
!subst(a, b, c)
-- cgit v1.2.3