diff options
author | David Greene <greened@obbligato.org> | 2009-04-23 21:25:15 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-04-23 21:25:15 +0000 |
commit | e8cf21e8e3db64dd49777d6bf6c867d47e9f5407 (patch) | |
tree | 5dc8b12e071de2abba651968b6bc3ed1b955fb2d /docs/TableGenFundamentals.html | |
parent | aa809fbde12dda27943bafb631fbad22130814e2 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGenFundamentals.html')
-rw-r--r-- | docs/TableGenFundamentals.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index c9d1fa3b3f..a698041512 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -398,11 +398,11 @@ supported include:</p> <dt><tt>!strconcat(a, b)</tt></dt> <dd>A string value that is the result of concatenating the 'a' and 'b' strings.</dd> -<dt><tt>!nameconcat(a, b)</tt></dt> +<dt><tt>!nameconcat<type>(a, b)</tt></dt> <dd>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.</dd> + 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.</dd> </dl> <p>Note that all of the values have rules specifying how they convert to values |