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 | 196ac3c69a04bad1f1aa41faabc95b7a77bb6805 (patch) | |
tree | 7d772531438e5eef63770d09713f1081377b43c4 /llvm/docs/TableGenFundamentals.html | |
parent | 5bbb78dc3ec6149abc8d69af0235545425492b3e (diff) | |
download | bcm5719-llvm-196ac3c69a04bad1f1aa41faabc95b7a77bb6805.tar.gz bcm5719-llvm-196ac3c69a04bad1f1aa41faabc95b7a77bb6805.zip |
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
Diffstat (limited to 'llvm/docs/TableGenFundamentals.html')
-rw-r--r-- | llvm/docs/TableGenFundamentals.html | 6 |
1 files changed, 3 insertions, 3 deletions
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:</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 |