[llvm] r363294 - [docs] Fix TableGen/LangRef typos

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 11:42:30 PDT 2019


Author: rupprecht
Date: Thu Jun 13 11:42:30 2019
New Revision: 363294

URL: http://llvm.org/viewvc/llvm-project?rev=363294&view=rev
Log:
[docs] Fix TableGen/LangRef typos

This fixes:
 - `Pred` -> `Prep`
 - `IfDef` -> `Ifdef` (rst is case sensitive here)

Modified:
    llvm/trunk/docs/TableGen/LangRef.rst

Modified: llvm/trunk/docs/TableGen/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TableGen/LangRef.rst?rev=363294&r1=363293&r2=363294&view=diff
==============================================================================
--- llvm/trunk/docs/TableGen/LangRef.rst (original)
+++ llvm/trunk/docs/TableGen/LangRef.rst Thu Jun 13 11:42:30 2019
@@ -482,9 +482,9 @@ It supports the following directives:
            : "#else" (`WhiteSpaceOrAnyComment`)* `LineEnd`
    PrepEndif: `LineBegin` (`WhiteSpaceOrCStyleComment`)*
             : "#endif" (`WhiteSpaceOrAnyComment`)* `LineEnd`
-   PrepRegContentException: `PredIfdef` | `PredElse` | `PredEndif` | EOF
+   PrepRegContentException: `PrepIfdef` | `PrepElse` | `PrepEndif` | EOF
    PrepRegion: .* - `PrepRegContentException`
-             :| `PrepIfDef`
+             :| `PrepIfdef`
              :  (`PrepRegion`)*
              :  [`PrepElse`]
              :  (`PrepRegion`)*




More information about the llvm-commits mailing list