浏览代码

[docs] Fix TableGen/LangRef typos

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363294 91177308-0d34-0410-b5e6-96231b3b80d8
Jordan Rupprecht 6 年之前
父节点
当前提交
708401a85b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/TableGen/LangRef.rst

+ 2 - 2
docs/TableGen/LangRef.rst

@@ -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`)*