From 40230c4c06e0ad1afbef217229363cab077368b3 Mon Sep 17 00:00:00 2001 From: David Greene Date: Wed, 19 Oct 2011 13:04:59 +0000 Subject: [PATCH] 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 --- docs/TableGenFundamentals.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html index f7f3d97ffe9..ee44bddf96f 100644 --- a/docs/TableGenFundamentals.html +++ b/docs/TableGenFundamentals.html @@ -407,6 +407,10 @@ 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.
+
str1#str2
+
"#" (paste) is a shorthand for !strconcat. It may concatenate + things that are not quoted strings, in which case an implicit + !cast is done on the operand of the paste.
!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 -- 2.34.1