[PATCH] D85838: New TableGen Programmer's Reference document

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 11:24:19 PDT 2020


nhaehnle added inline comments.


================
Comment at: llvm/docs/TableGen/ProgRef.rst:307-308
+There are many contexts in TableGen statements where a value is required. A
+common example is in the definition of a record, where each field is
+specified by a name and value. TableGen allows for a reasonable number of
+different forms when building up values. These forms allow the TableGen file
----------------
... and an optional value.


================
Comment at: llvm/docs/TableGen/ProgRef.rst:602
+.. productionlist::
+   Def: "def" [`NameValue`] `RecordBody`
+   NameValue: `Value`
----------------
Missing a colon?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85838/new/

https://reviews.llvm.org/D85838



More information about the llvm-commits mailing list