[PATCH] D44195: TableGen: Remove the cast-from-string-to-variable-reference feature

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 7 03:14:48 PST 2018


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, craig.topper, tra, MartinO.
Herald added a subscriber: wdng.

Cast-from-string for records isn't going away, but cast-from-string for
variables is a pretty dodgy feature to have, especially when referencing
template arguments. It's doubtful that this ever worked in a reliable
way, and nobody seems to be using it, so let's get rid of it and get
some related cleanups.

Change-Id: I395ac8a43fef4cf98e611f2f552300d21e99b66a


Repository:
  rL LLVM

https://reviews.llvm.org/D44195

Files:
  docs/TableGen/LangIntro.rst
  include/llvm/TableGen/Record.h
  lib/TableGen/Record.cpp
  lib/TableGen/TGParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44195.137347.patch
Type: text/x-patch
Size: 8974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180307/02e570d7/attachment.bin>


More information about the llvm-commits mailing list