diff options
author | Shafik Yaghmour <syaghmour@apple.com> | 2019-05-03 19:59:22 +0000 |
---|---|---|
committer | Shafik Yaghmour <syaghmour@apple.com> | 2019-05-03 19:59:22 +0000 |
commit | e5cbe78259c9b3f181f267ac82bde04dd8a57df8 (patch) | |
tree | 7f7ec3e6040682816f00de93a35193190a959520 /lldb/packages/Python/lldbsuite/test/__init__.py | |
parent | 70f5e050e7d874cc108fc0e644625d1836059b66 (diff) | |
download | bcm5719-llvm-e5cbe78259c9b3f181f267ac82bde04dd8a57df8.tar.gz bcm5719-llvm-e5cbe78259c9b3f181f267ac82bde04dd8a57df8.zip |
Fix for ambiguous lookup in expressions between local variable and namespace
Summary:
In an Objective-C context a local variable and namespace can cause an ambiguous name lookup when used in an expression. The solution involves mimicking the existing C++ solution which is to add local using declarations for local variables. This causes a different type of lookup to be used which eliminates the namespace during acceptable results filtering.
Differential Revision: https://reviews.llvm.org/D59960
llvm-svn: 359921
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/__init__.py')
0 files changed, 0 insertions, 0 deletions