Don't fail tablegen immediately after failing to set a value.
authorPete Cooper <peter_cooper@apple.com>
Thu, 31 Jul 2014 01:44:00 +0000 (01:44 +0000)
committerPete Cooper <peter_cooper@apple.com>
Thu, 31 Jul 2014 01:44:00 +0000 (01:44 +0000)
commit0a8cc452b16c2e3c03e409329b4104403890d05c
tree91120b37283d980a16380ede5b247bca794e9d85
parentb71c54fb7dcc63e48162ee0de754ee73c236cdcf
Don't fail tablegen immediately after failing to set a value.

Instead allow the variable to be declared, but don't attach an initializer. This allows more than a single error to be emitted before we exit.

Test case to follow soon in another patch.

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