diff options
| author | Ilya Biryukov <ibiryukov@google.com> | 2019-01-23 10:35:12 +0000 |
|---|---|---|
| committer | Ilya Biryukov <ibiryukov@google.com> | 2019-01-23 10:35:12 +0000 |
| commit | 4e0c400a475b1b3ff598c5b7a0ca75d3ee33641a (patch) | |
| tree | da37209e505a71b51ad33437daa946db972f0c39 /llvm/lib | |
| parent | bcbe98bcb9496a7881b7a29af3c488d0a855d032 (diff) | |
| download | bcm5719-llvm-4e0c400a475b1b3ff598c5b7a0ca75d3ee33641a.tar.gz bcm5719-llvm-4e0c400a475b1b3ff598c5b7a0ca75d3ee33641a.zip | |
[clangd] Fix crash due to ObjCPropertyDecl
With ObjCPropertyDecl, ASTNode.OrigD can be a ObjCPropertyImplDecl
which is not a NamedDecl, leading to a crash since the code
incorrectly assumes ASTNode.OrigD will always be a NamedDecl.
Change by dgoldman (David Goldman)!
Differential Revision: https://reviews.llvm.org/D56916
llvm-svn: 351941
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

