[PATCH] D88139: [docs][llvm] Fix typos

Junda Su via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 02:07:54 PDT 2020


SuJunda created this revision.
SuJunda added a reviewer: Paul-C-Anagnostopoulos.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
SuJunda requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88139

Files:
  llvm/docs/TableGen/BackGuide.rst


Index: llvm/docs/TableGen/BackGuide.rst
===================================================================
--- llvm/docs/TableGen/BackGuide.rst
+++ llvm/docs/TableGen/BackGuide.rst
@@ -90,7 +90,7 @@
 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 @@
 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``.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88139.293674.patch
Type: text/x-patch
Size: 1097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200923/cfe99fbd/attachment.bin>


More information about the llvm-commits mailing list