diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2019-09-16 22:00:29 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2019-09-16 22:00:29 +0000 |
commit | 919fc50034b44c48aae8b80283f253ec2ee17f45 (patch) | |
tree | 8d1f70e6d679358f3b79f95ba997c6882db3d2bf /lldb/packages/Python/lldbsuite/test | |
parent | 155a43edb0c161bb5122ad4eeee991b43a0278bc (diff) | |
download | bcm5719-llvm-919fc50034b44c48aae8b80283f253ec2ee17f45.tar.gz bcm5719-llvm-919fc50034b44c48aae8b80283f253ec2ee17f45.zip |
[Modules][Objective-C] Use complete decl from module when diagnosing missing import
Summary:
Otherwise the definition (first found) for ObjCInterfaceDecl's might
precede the module one, which will eventually lead to crash, since
diagnoseMissingImport needs one coming from a module.
This behavior changed after Richard's r342018, which started to look
into the definition of ObjCInterfaceDecls.
rdar://problem/49237144
Reviewers: rsmith, arphaman
Subscribers: jkorous, dexonsmith, ributzka, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66982
llvm-svn: 372039
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions