diff options
author | David Greene <greened@obbligato.org> | 2011-10-19 13:04:59 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2011-10-19 13:04:59 +0000 |
commit | 40230c4c06e0ad1afbef217229363cab077368b3 (patch) | |
tree | fd6b412cc22f37edd74a613d5fa303f6a01858d0 /docs/TableGenFundamentals.html | |
parent | dc5287c7388d0d57b139eafe7cf451bca9e47718 (diff) |
Document Paste
Document paste as a shorthand for !strconcat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGenFundamentals.html')
-rw-r--r-- | docs/TableGenFundamentals.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index f7f3d97ffe..ee44bddf96 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -407,6 +407,10 @@ which case the user must specify it explicitly.</dd> <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>str1#str2</tt></dt> + <dd>"#" (paste) is a shorthand for !strconcat. It may concatenate + things that are not quoted strings, in which case an implicit + !cast<string> is done on the operand of the paste.</dd> <dt><tt>!cast<type>(a)</tt></dt> <dd>A symbol of type <em>type</em> obtained by looking up the string 'a' in the symbol table. If the type of 'a' does not match <em>type</em>, TableGen |