summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-overridden-method/TestCallOverriddenMethod.py
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2018-12-20 20:05:11 +0000
committerBruno Ricci <riccibrun@gmail.com>2018-12-20 20:05:11 +0000
commited414847bc80916af4361ad703ab542fe2d2577b (patch)
tree0d8a0f350609336c353ec1cd51810eaa51f649cb /lldb/packages/Python/lldbsuite/test/expression_command/call-overridden-method/TestCallOverriddenMethod.py
parent02e96dd039309dd99a26248ff0934f336d6a188e (diff)
downloadbcm5719-llvm-ed414847bc80916af4361ad703ab542fe2d2577b.tar.gz
bcm5719-llvm-ed414847bc80916af4361ad703ab542fe2d2577b.zip
[Sema] Don't try to account for the size of an incomplete type in CheckArrayAccess
When checking that the array access is not out-of-bounds in CheckArrayAccess it is possible that the type of the base expression after IgnoreParenCasts is incomplete, even though the type of the base expression before IgnoreParenCasts is complete. In this case we have no information about whether the array access is out-of-bounds and we should just bail-out instead. This fixes PR39746 which was caused by trying to obtain the size of an incomplete type. Differential Revision: https://reviews.llvm.org/D55862 Reviewed By: efriedma llvm-svn: 349811
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-overridden-method/TestCallOverriddenMethod.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud