[PATCH] D71474: [TableGen] Introduce an if/then/else statement.

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 04:56:30 PST 2020


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

Added documentation and more tests; changed scoping policy so that then and else clauses //do// make a new scope for `defvar`; rebased on top of the revised D71407 <https://reviews.llvm.org/D71407>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71474

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
  llvm/test/TableGen/ifstmt.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71474.235851.patch
Type: text/x-patch
Size: 13527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200102/c205ba23/attachment.bin>


More information about the llvm-commits mailing list