HomePhabricator

Fix for ambiguous lookup in expressions between local variable and namespace

Description

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

Details

Committed
shafikMay 3 2019, 12:59 PM
Differential Revision
D59960: Fix for ambiguous lookup in expressions between local variable and namespace
Branches
Unknown
Tags
Unknown