From e15192b36bb5e99838d3f70bf79f7b8bed7a75b9 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 5 Aug 2009 15:42:44 +0000 Subject: Documentation: fix HTML validation errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78196 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/TableGenFundamentals.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/TableGenFundamentals.html') diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index ec87f29..bf38dda 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -371,8 +371,8 @@ supported include:

string value
[{ ... }]
code fragment
-
[ X, Y, Z ]
-
list value. is the type of the list +
[ X, Y, Z ]<type>
+
list value. <type> is the type of the list element and is usually optional. In rare cases, TableGen is unable to deduce the element type in which case the user must specify it explicitly.
@@ -408,13 +408,13 @@ which case the user must specify it explicitly.
!strconcat(a, b)
A string value that is the result of concatenating the 'a' and 'b' strings.
-
!cast(a)
+
!cast<type>(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. !cast is a special case in that the argument must +aborts with an error. !cast<string> 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))
+
Shorthand for !cast<type>(!strconcat(a, b))
!subst(a, b, c)
If 'a' and 'b' are of string type or are symbol references, substitute 'b' for 'a' in 'c.' This operation is analogous to $(subst) in GNU make.
-- cgit v1.1