summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-02-12 18:11:53 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-02-12 18:11:53 +0000
commitaa55c8cc38d57fce6e169112da63137d35d4e19c (patch)
tree44fc93c11ad5c3a02c23900f00b7927bd0c81454
parent2751e76a709738590242adce47a3b55bc77fd36d (diff)
downloadllvm-aa55c8cc38d57fce6e169112da63137d35d4e19c.tar.gz
llvm-aa55c8cc38d57fce6e169112da63137d35d4e19c.tar.bz2
llvm-aa55c8cc38d57fce6e169112da63137d35d4e19c.tar.xz
Fixed minor typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11356 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/TableGenFundamentals.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/TableGenFundamentals.html b/docs/TableGenFundamentals.html
index 50349347df..a74ffe3f0e 100644
--- a/docs/TableGenFundamentals.html
+++ b/docs/TableGenFundamentals.html
@@ -299,7 +299,7 @@ value, such as 5.</li>
<li>"<tt><b>string</b></tt>" - The 'string' type represents an ordered sequence
of characters of arbitrary length.</li>
-<li>"<tt><b>bits</b>&lt;n&gt;</tt>" - A 'bits' type is a arbitrary, but fixed,
+<li>"<tt><b>bits</b>&lt;n&gt;</tt>" - A 'bits' type is an arbitrary, but fixed,
size integer that is broken up into individual bits. This type is useful
because it can handle some bits being defined while others are undefined.</li>
@@ -363,7 +363,7 @@ including nested 'dag' values.</li>
</ul></p>
<p>
-Note that all of the values have rules specifying how they convert to to values
+Note that all of the values have rules specifying how they convert to values
for different types. These rules allow you to assign a value like "7" to a
"bits&lt;4&gt;" value, for example.
</p>
@@ -387,8 +387,8 @@ information that TableGen collects. Records are defined with a <tt>def</tt> or
href="templateargs">template arguments</a>". If the record has superclasses,
they are specified as a comma seperated list that starts with a colon character
(":"). If <a href="#valuedef">value definitions</a> or <a href="#recordlet">let
-expressions</a> are needed for the class they are enclosed in curly braces
-("{}"), otherwise the record ends with a semicolon. Here is a simple TableGen
+expressions</a> are needed for the class, they are enclosed in curly braces
+("{}"); otherwise, the record ends with a semicolon. Here is a simple TableGen
file:
</p>
@@ -408,7 +408,7 @@ bit value. The <tt>Y</tt> definition also gets the Greeting member as well.
<p>
In general, classes are useful for collecting together the commonality between a
-group of records, and isolating it in a single places. Also, classes permit the
+group of records and isolating it in a single place. Also, classes permit the
specification of default values for their subclasses, allowing the subclasses to
override them as they wish.
</p>
@@ -423,7 +423,7 @@ override them as they wish.
<div class="doc_text">
<p>
Value definitions define named entries in records. A value must be defined
-before it can be referred to as the operand for another value definition, or
+before it can be referred to as the operand for another value definition or
before the value is reset with a <a href="#recordlet">let expression</a>. A
value is defined by specifying a <a href="#types">TableGen type</a> and a name.
If an initial value is available, it may be specified after the type with an
@@ -439,9 +439,9 @@ equal sign. Value definitions require terminating semicolons.
<p>
A record-level let expression is used to change the value of a value definition
in a record. This is primarily useful when a superclass defines a value that a
-derived class or definitions wants to override. Let expressions consist of the
-'<tt>let</tt>' keyword, followed by a value name, an equal sign ("="), and a new
-value for example, a new class could be added to the example above, redefining
+derived class or definition wants to override. Let expressions consist of the
+'<tt>let</tt>' keyword followed by a value name, an equal sign ("="), and a new
+value. For example, a new class could be added to the example above, redefining
the <tt>V</tt> field for all of its subclasses:</p>
<p><pre>