summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc/TestContextObjectObjc.py
diff options
context:
space:
mode:
authorDavid Goldman <dallasftball@gmail.com>2019-08-20 19:03:15 +0000
committerDavid Goldman <dallasftball@gmail.com>2019-08-20 19:03:15 +0000
commitfd4d77707ff87ff77b2636a8d532f50c8cf066c0 (patch)
tree26c9d3010870dd0630a6890846f43cf36ebfc7ad /lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc/TestContextObjectObjc.py
parent514f3a122d659dc45f272a1a519387680e221ffd (diff)
downloadbcm5719-llvm-fd4d77707ff87ff77b2636a8d532f50c8cf066c0.tar.gz
bcm5719-llvm-fd4d77707ff87ff77b2636a8d532f50c8cf066c0.zip
[Sema][Typo] Fix assertion failure for expressions with multiple typos
Summary: As Typo Resolution can create new TypoExprs while resolving typos, it is necessary to recurse through the expression to search for more typos. This should fix the assertion failure in `clang::Sema::~Sema()`: `DelayedTypos.empty() && "Uncorrected typos!"` Notes: - In case some TypoExprs are created but thrown away, Sema now has a Vector that is used to keep track of newly created typos. - For expressions with multiple typos, we only give suggestions if we are able to resolve all typos in the expression - This patch is similar to D37521 except that it does not eagerly commit to a correction for the first typo in the expression. Instead, it will search for corrections which fix all of the typos in the expression. Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62648 llvm-svn: 369427
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc/TestContextObjectObjc.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud