diff options
author | Sam McCall <sam.mccall@gmail.com> | 2018-01-19 21:58:58 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2018-01-19 21:58:58 +0000 |
commit | 1a8c55ecc6d28c8103f1825cd3ef03be58e350b7 (patch) | |
tree | 8ab608893c9cf60d7e3bb0162eab8c73a6e3d28e /lldb/packages/Python/lldbsuite/test/expression_command | |
parent | 563799b3a6cf23fa56c4fcdc91d3d2cf45b015b0 (diff) | |
download | bcm5719-llvm-1a8c55ecc6d28c8103f1825cd3ef03be58e350b7.tar.gz bcm5719-llvm-1a8c55ecc6d28c8103f1825cd3ef03be58e350b7.zip |
[clangd] Change index scope convention from "outer::inner" to "outer::inner::"
Global scope is "" (was "")
Top-level namespace scope is "ns::" (was "ns")
Nested namespace scope is "ns::ns::" (was "ns::ns")
This composes more naturally:
- qname = scope + name
- full scope = resolved scope + unresolved scope (D42073 was the trigger)
It removes a wart from the old way: "foo::" has one more separator than "".
Another alternative that has these properties is "::ns", but that lacks
the property that both the scope and the name are substrings of the
qname as produced by clang.
llvm-svn: 322996
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions