Add a better error message when failing to assign one tablegen value to another
authorPete Cooper <peter_cooper@apple.com>
Thu, 31 Jul 2014 01:43:57 +0000 (01:43 +0000)
committerPete Cooper <peter_cooper@apple.com>
Thu, 31 Jul 2014 01:43:57 +0000 (01:43 +0000)
commitb71c54fb7dcc63e48162ee0de754ee73c236cdcf
treec9cd0c590206c0f583d98a5f579c4f6bea1eea2d
parentb4d70a0c2a554151d01c15f0c0086c6b69afa09e
Add a better error message when failing to assign one tablegen value to another

This is currently for assigning from one bit init to another.  It can easily be extended to other types.

Test to follow soon in another patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214374 91177308-0d34-0410-b5e6-96231b3b80d8
lib/TableGen/TGParser.cpp