summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-07-19 20:21:18 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-07-19 20:21:18 +0000
commit1383ddc40ba052d422b92e24fd339655fbac9cc3 (patch)
tree4bc64f3012a9e4b9bc3d8239f4ed64641142fdd1 /lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
parentd9689aff32ec76984c0fe18b8806f43a46ef9a92 (diff)
downloadbcm5719-llvm-1383ddc40ba052d422b92e24fd339655fbac9cc3.tar.gz
bcm5719-llvm-1383ddc40ba052d422b92e24fd339655fbac9cc3.zip
[SemaObjC] Improve ObjCDictionaryLiteral and ObjCArryLiteral diagnostics
Sema actions on ObjCDictionaryLiteral and ObjCArryLiteral are currently done as a side-effect of Sema upon parent expressions, which incurs of delayed typo corrections for such literals to be performed by TypoTransforms upon the ObjCDictionaryLiteral and ObjCArryLiteral themselves instead of its elements individually. This is specially bad because it was not designed to act on several elements; searching through all possible combinations of corrections for several elements is very expensive. Additionally, when one of the elements has no correction candidate, we still explore all options and at the end emit no typo corrections whatsoever. Do the proper sema actions by acting on each element alone during appropriate literal parsing time to get proper diagonistics and decent compile time behavior. Differential Revision: http://reviews.llvm.org/D22183 rdar://problem/21046678 llvm-svn: 276020
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud