[PATCH] D71407: [TableGen] Introduce a `defvar` statement.

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 17:07:32 PST 2019


hfinkel added inline comments.


================
Comment at: llvm/docs/TableGen/LangRef.rst:430
+The identifier on the left of the ``=`` is defined to be a global or
+multiclass-local variable, whose value is given by the expression on the right
+of the ``=``. The type of the variable is automatically inferred.
----------------
or class/record local

or should we just say a "scope-local variable" (including some kind of global scope)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71407





More information about the llvm-commits mailing list