TableGen: Remove the cast-from-string-to-variable-reference feature
authorNicolai Haehnle <nhaehnle@gmail.com>
Mon, 19 Mar 2018 14:13:37 +0000 (14:13 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Mon, 19 Mar 2018 14:13:37 +0000 (14:13 +0000)
commitc47fe129cb3f4e775b903370f3e001ae656520aa
tree913a2ad98a74d7c8b8531a6211ead4c4b0fc64e7
parentfed0a450363f7c0d8f21b209233f496bfc46512d
TableGen: Remove the cast-from-string-to-variable-reference feature

Summary:
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

Reviewers: arsenm, craig.topper, tra, MartinO

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D44195

llvm-svn: 327844
llvm/docs/TableGen/LangIntro.rst
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/Record.cpp
llvm/lib/TableGen/TGParser.cpp
llvm/test/TableGen/MultiClass-defm-fail.td