OSDN Git Service

TableGen: Add strict assertions to sanity check earlier type checking
authorNicolai Haehnle <nhaehnle@gmail.com>
Thu, 22 Feb 2018 15:27:12 +0000 (15:27 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Thu, 22 Feb 2018 15:27:12 +0000 (15:27 +0000)
commitf410ef7d961f7ca17a5589ade14f4165170e4d26
tree1814a994ec72952373623f4b23aae8cdb605a462
parent6d22c1fe6985fb7cd88b808f5c2f8e568ea50c6f
TableGen: Add strict assertions to sanity check earlier type checking

Summary:
Both of these errors should have been caught by type-checking during
parsing.

Change-Id: I891087936fd1a91d21bcda57c256e3edbe12b94d

Reviewers: arsenm, craig.topper, tra, MartinO

Subscribers: wdng, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325800 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/TableGen/Record.h
lib/TableGen/Record.cpp