[PATCH] D101254: [docs] Updated llvm/exmaple section under directory layout

PoojaYadav via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 25 07:06:25 PDT 2021


pooja2299 created this revision.
pooja2299 added a reviewer: xgupta.
pooja2299 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Added more details about llvm/example in Getting started tutorial docs


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101254

Files:
  llvm/docs/TableGen/ProgRef.rst


Index: llvm/docs/TableGen/ProgRef.rst
===================================================================
--- llvm/docs/TableGen/ProgRef.rst
+++ llvm/docs/TableGen/ProgRef.rst
@@ -887,9 +887,10 @@
 .. productionlist::
    MultiClass: "multiclass" `TokIdentifier` [`TemplateArgList`]
              : [":" `ParentMultiClassList`]
-             : "{" `Statement`+ "}"
+             : "{" `MultiClassStatement`+ "}"
    ParentMultiClassList: `MultiClassID` ("," `MultiClassID`)*
    MultiClassID: `TokIdentifier`
+   MultiClassStatement: `Assert` | `Def` | `Defm` | `Defvar` | `Foreach` | `If` | `Let`
 
 As with regular classes, the multiclass has a name and can accept template
 arguments. A multiclass can inherit from other multiclasses, which causes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101254.340356.patch
Type: text/x-patch
Size: 751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210425/78062346/attachment.bin>


More information about the llvm-commits mailing list