[llvm] 270d334 - [docs][llvm] Fix typos

Paul C. Anagnostopoulos via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 07:20:06 PDT 2020


Author: SuJunda (Junda Su)
Date: 2020-09-23T10:19:02-04:00
New Revision: 270d334a665faa574db0c7d3a23af78bed9366d0

URL: https://github.com/llvm/llvm-project/commit/270d334a665faa574db0c7d3a23af78bed9366d0
DIFF: https://github.com/llvm/llvm-project/commit/270d334a665faa574db0c7d3a23af78bed9366d0.diff

LOG: [docs][llvm] Fix typos

I don't have commit access.
Please help me commit it.
Thanks : )

Reviewed By: Paul-C-Anagnostopoulos

Differential Revision: https://reviews.llvm.org/D88139

Added: 
    

Modified: 
    llvm/docs/TableGen/BackGuide.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/TableGen/BackGuide.rst b/llvm/docs/TableGen/BackGuide.rst
index 4d387e3bdaf9..b70b28eb573d 100644
--- a/llvm/docs/TableGen/BackGuide.rst
+++ b/llvm/docs/TableGen/BackGuide.rst
@@ -90,7 +90,7 @@ the record name, the vector of field names and their values, and the vector of
 superclasses of the record.
 
 The record name is stored as a pointer to an ``Init`` (see `Init`_), which
-is a class whose instances hold TableGen values (sometimes refered to as
+is a class whose instances hold TableGen values (sometimes referred to as
 *initializers*). The field names and values are stored in a vector of
 ``RecordVal`` instances (see `RecordVal`_), each of which contains both the
 field name and its value. The superclass vector contains a sequence of
@@ -343,7 +343,7 @@ The ``CodeInit`` class is a subclass of ``TypedInit``. Its instances
 represent arbitrary-length strings produced from ``code`` literals in the
 TableGen files. It includes a data member that contains a ``StringRef`` of
 the value. It also includes a data member specifying the source code
-location of the code stirng.
+location of the code string.
 
 The class provides the usual ``get()`` and ``getValue()`` functions. The
 latter function returns the ``StringRef``.


        


More information about the llvm-commits mailing list