[llvm-commits] [llvm] r142528 - /llvm/trunk/docs/TableGenFundamentals.html

David Greene greened at obbligato.org
Wed Oct 19 06:04:59 PDT 2011


Author: greened
Date: Wed Oct 19 08:04:59 2011
New Revision: 142528

URL: http://llvm.org/viewvc/llvm-project?rev=142528&view=rev
Log:
Document Paste

Document paste as a shorthand for !strconcat.

Modified:
    llvm/trunk/docs/TableGenFundamentals.html

Modified: llvm/trunk/docs/TableGenFundamentals.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TableGenFundamentals.html?rev=142528&r1=142527&r2=142528&view=diff
==============================================================================
--- llvm/trunk/docs/TableGenFundamentals.html (original)
+++ llvm/trunk/docs/TableGenFundamentals.html Wed Oct 19 08:04:59 2011
@@ -407,6 +407,10 @@
 <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





More information about the llvm-commits mailing list