From efa19619c8a59a7408fbd54e804072c8186cb667 Mon Sep 17 00:00:00 2001 From: David Greene Date: Mon, 29 Jun 2009 20:05:29 +0000 Subject: Implement !cast. llvm-svn: 74444 --- llvm/docs/TableGenFundamentals.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/docs/TableGenFundamentals.html') 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.
!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