summaryrefslogtreecommitdiff
path: root/docs/TableGenFundamentals.rst
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-06-21 07:01:02 +0000
committerBill Wendling <isanbard@gmail.com>2012-06-21 07:01:02 +0000
commit09d3233c9ebf74a007faaae7f47f68d7285f7ac4 (patch)
tree6bdef2ac70ec1d49baab89643eaaf6119b1655ca /docs/TableGenFundamentals.rst
parentbd96e0de3fb68b7c8587fed84b4233fc5aeb177a (diff)
downloadllvm-09d3233c9ebf74a007faaae7f47f68d7285f7ac4.tar.gz
llvm-09d3233c9ebf74a007faaae7f47f68d7285f7ac4.tar.bz2
llvm-09d3233c9ebf74a007faaae7f47f68d7285f7ac4.tar.xz
Cleanup some encoding mishaps.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/TableGenFundamentals.rst')
-rw-r--r--docs/TableGenFundamentals.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/TableGenFundamentals.rst b/docs/TableGenFundamentals.rst
index 56f06aabc7..bfb2618998 100644
--- a/docs/TableGenFundamentals.rst
+++ b/docs/TableGenFundamentals.rst
@@ -253,9 +253,9 @@ types are:
Class type
Specifying a class name in a type context means that the defined value must
be a subclass of the specified class. This is useful in conjunction with
- the **``list``** type, for example, to constrain the elements of the list to
- a common base class (e.g., a ``**list**<Register>`` can only contain
- definitions derived from the "``Register``" class).
+ the ``list`` type, for example, to constrain the elements of the list to a
+ common base class (e.g., a ``list<Register>`` can only contain definitions
+ derived from the "``Register``" class).
``dag``
This type represents a nestable directed graph of elements.
@@ -354,13 +354,13 @@ supported include:
``str1#str2``
"#" (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>
+ 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 aborts with an
error. !cast<string> is a special case in that the argument must be an
- object defined by a 'def' construct.</dd>
+ object defined by a 'def' construct.
``!subst(a, b, c)``
If 'a' and 'b' are of string type or are symbol references, substitute 'b'