summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finishSwigPythonLLDB.py
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-07-10 23:44:52 +0000
committerReid Kleckner <reid@kleckner.net>2014-07-10 23:44:52 +0000
commit0902a51bafc72030d52a3c8d55b7b983a23fee75 (patch)
tree3167b4fb939e23851ac28acc3cd479e049b26dcd /lldb/scripts/Python/finishSwigPythonLLDB.py
parent3f19ada88e24008b24a5db20b7f78f5cff525a0b (diff)
downloadbcm5719-llvm-0902a51bafc72030d52a3c8d55b7b983a23fee75.tar.gz
bcm5719-llvm-0902a51bafc72030d52a3c8d55b7b983a23fee75.zip
MSVC compat: Allow lookup of friend types in enclosing namespaces
The relevant portion of C++ standard says [namespace.memdef]p3: If the name in a friend declaration is neither qualified nor a template-id and the declaration is a function or an elaborated-type-specifier, the lookup to determine whether the entity has been previously declared shall not consider any scopes outside the innermost enclosing namespace. MSVC does not implement that rule for types. If there is a type in an enclosing namespace, they consider an unqualified tag declaration with the same name to be a redeclaration of the type from another namespace. Implementing compatibility is a simple matter of disabling our implementation of this rule for types, which was added in r177473. Reviewers: rsmith Differential Revision: http://reviews.llvm.org/D4443 llvm-svn: 212784
Diffstat (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud