[llvm] [TableGen][Docs] Reuse production for Defvar (PR #124592)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 11:00:41 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-tablegen
Author: Jay Foad (jayfoad)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/124592.diff
1 Files Affected:
- (modified) llvm/docs/TableGen/ProgRef.rst (+1-1)
``````````diff
diff --git a/llvm/docs/TableGen/ProgRef.rst b/llvm/docs/TableGen/ProgRef.rst
index cfe61382658ec4..62b1c04f0a641b 100644
--- a/llvm/docs/TableGen/ProgRef.rst
+++ b/llvm/docs/TableGen/ProgRef.rst
@@ -672,7 +672,7 @@ arguments.
Body: ";" | "{" `BodyItem`* "}"
BodyItem: (`Type` | "code") `TokIdentifier` ["=" `Value`] ";"
:| "let" `TokIdentifier` ["{" `RangeList` "}"] "=" `Value` ";"
- :| "defvar" `TokIdentifier` "=" `Value` ";"
+ :| `Defvar`
:| `Assert`
A field definition in the body specifies a field to be included in the class
``````````
</details>
https://github.com/llvm/llvm-project/pull/124592
More information about the llvm-commits
mailing list