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

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 07:47:42 PST 2019


simon_tatham updated this revision to Diff 233801.
simon_tatham added a comment.

Revised patch which keeps local-variable scopes in a stack, and opens
a temporary scope for each multiclass body, object body, or foreach body.

This is now out of 'first draft' status and ready for proper review.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71407

Files:
  llvm/docs/TableGen/LangRef.rst
  llvm/lib/TableGen/TGLexer.cpp
  llvm/lib/TableGen/TGLexer.h
  llvm/lib/TableGen/TGParser.cpp
  llvm/lib/TableGen/TGParser.h
  llvm/test/TableGen/defvar.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71407.233801.patch
Type: text/x-patch
Size: 15767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191213/1a4915b4/attachment-0001.bin>


More information about the llvm-commits mailing list