From 196ac3c69a04bad1f1aa41faabc95b7a77bb6805 Mon Sep 17 00:00:00 2001 From: David Greene Date: Thu, 23 Apr 2009 21:25:15 +0000 Subject: Make BinOps typed and require a type specifier for !nameconcat. This allows binops to be used in typed contexts such as when passing arguments to classes. llvm-svn: 69921 --- llvm/docs/TableGenFundamentals.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/docs/TableGenFundamentals.html') diff --git a/llvm/docs/TableGenFundamentals.html b/llvm/docs/TableGenFundamentals.html index c9d1fa3b3f1..a698041512a 100644 --- a/llvm/docs/TableGenFundamentals.html +++ b/llvm/docs/TableGenFundamentals.html @@ -398,11 +398,11 @@ supported include:

!strconcat(a, b)
A string value that is the result of concatenating the 'a' and 'b' strings.
-
!nameconcat(a, b)
+
!nameconcat(a, b)
A value that is the result of concatenating the 'a' and 'b' strings and looking up the resulting name in the symbol table. The symbol type - determines the type of the resulting value. If the symbol is not found, - TableGen emits an error and aborts.
+ determines the type of the resulting value. If the symbol is not found + or the symbol type does not match 'type,' TableGen emits an error and aborts.

Note that all of the values have rules specifying how they convert to values -- cgit v1.2.3