diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-02-23 10:46:13 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-02-23 10:46:13 +0000 |
commit | aecb68b54990fd888aebe7a9f6189b1ab00abfc6 (patch) | |
tree | 99ebbcab680e20e83e95e5d9876a38cae374fe45 /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py | |
parent | 0243aaf42c6c766ea64868b67357dc761ea95b99 (diff) | |
download | bcm5719-llvm-aecb68b54990fd888aebe7a9f6189b1ab00abfc6.tar.gz bcm5719-llvm-aecb68b54990fd888aebe7a9f6189b1ab00abfc6.zip |
TableGen: Fix typeIsConvertibleTo for record types
Summary:
Only check whether the left-hand side type is a subclass (or equal to)
the right-hand side type.
This requires a further fix in handling !if expressions and in type
resolution.
Furthermore, reverse the order of superclasses so that resolveTypes will
find a least common ancestor at least in simple cases.
Add a test that used to be accepted without flagging the obvious type
error.
Change-Id: Ib366db1a4e6a079f1a0851e469b402cddae76714
Reviewers: arsenm, craig.topper, tra, MartinO
Subscribers: wdng, llvm-commits
Differential Revision: https://reviews.llvm.org/D43559
llvm-svn: 325884
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py')
0 files changed, 0 insertions, 0 deletions