aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2019-01-24 13:52:47 +0000
committerBruno Ricci <riccibrun@gmail.com>2019-01-24 13:52:47 +0000
commit4eb701c0c6ae67a7bb6d853aa7735a457e014e0f (patch)
treecc2f1af470a606b1fe7a9a4eb5547d5714418c8d /lldb/packages/Python/lldbsuite/test/configuration.py
parent30b206b5daf48f9cebb685c765a3d60473cc34aa (diff)
downloadllvm-4eb701c0c6ae67a7bb6d853aa7735a457e014e0f.zip
llvm-4eb701c0c6ae67a7bb6d853aa7735a457e014e0f.tar.gz
llvm-4eb701c0c6ae67a7bb6d853aa7735a457e014e0f.tar.bz2
[Sema] Don't crash when recovering from a misspelled pseudo destructor call to an incomplete type.
When attempting to correct a misspelled pseudo destructor call as in: struct Foo; void foo(Foo *p) { p.~Foo(); } a call is made in canRecoverDotPseudoDestructorCallsOnPointerObjects to LookupDestructor without checking that the record has a definition. This causes an assertion later in LookupSpecialMember which assumes that the record has a definition. Patch By Roman Zhikharevich! Differential Revision: https://reviews.llvm.org/D57111 Reviewed By: riccibruno llvm-svn: 352047
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions