diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2024-07-01 16:21:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-01 17:21:58 +0200 |
| commit | 65c807e69545ec23c1a258f66f744874531c7d26 (patch) | |
| tree | 83dbccb0e80359c178cbb989ed9bd2baa5826a1a /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | |
| parent | ea4cf923edf441897c31edd59a0d7bc8c6f380ff (diff) | |
[lldb][TypeSystemClang] Allow transparent lookup through anonymous namespaces (#97275)
This patch allows expressions to reference entities in anonymous
namespaces. Previously this would have resulted in:
```
(lldb) expr foo::FooAnonymousVar
error: <user expression 0>:1:6: no member named 'FooAnonymousVar' in namespace 'foo'
1 | foo::FooAnonymousVar
| ~~~~~^
```
We already allow such lookups through inline namespaces, and for the
purposes of lookup, anonymous namespaces shouldn't behave any different.
Fixes https://github.com/llvm/llvm-project/issues/96963.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions
