[PATCH] D46054: [TableGen] Add a general-purpose JSON backend.

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 06:55:42 PDT 2018


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

Rebase to current trunk, and revert change to 'anonymous' handling.

In line with the discussion in https://reviews.llvm.org/D47431, I've removed my previous tweak
in TGParser.cpp that sets the !anonymous flag if any part of a def's
final name was derived from an anonymous def or defm. Now the
!anonymous field in the JSON output is consistent with the existing
behavior of the isAnonymous() query function.


Repository:
  rL LLVM

https://reviews.llvm.org/D46054

Files:
  docs/TableGen/BackEnds.rst
  docs/TableGen/index.rst
  include/llvm/TableGen/Record.h
  lib/TableGen/CMakeLists.txt
  lib/TableGen/JSONBackend.cpp
  test/TableGen/JSON-check.py
  test/TableGen/JSON.td
  utils/TableGen/TableGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46054.154595.patch
Type: text/x-patch
Size: 22299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180709/ed4a919a/attachment.bin>


More information about the llvm-commits mailing list