diff options
author | Shoaib Meenai <smeenai@fb.com> | 2018-03-27 18:58:28 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2018-03-27 18:58:28 +0000 |
commit | 8b218000ceccc6094b1524a82476df86d9db83a0 (patch) | |
tree | e4895c380a643b4acf35712853b930d041bead71 /test/CodeGenOpenCL | |
parent | 0c6d42629685efad8e3e1f8ecf32e33eafa70c82 (diff) |
[Sema] Avoid crash for category implementation without interface
When we have a category implementation without a corresponding interface
(which is an error by itself), semantic checks for property accesses
will attempt to access a null interface declaration and then segfault.
Error out in such cases instead.
Differential Revision: https://reviews.llvm.org/D44916
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenOpenCL')
0 files changed, 0 insertions, 0 deletions