diff options
author | Sam McCall <sam.mccall@gmail.com> | 2018-01-19 22:18:21 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2018-01-19 22:18:21 +0000 |
commit | 8b2faeed022dc14b838416e12754d8d9c3074195 (patch) | |
tree | 2e70b6d4760de7b09c951b07760c25102633996f /lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py | |
parent | 5435b68a11382ede6deea4ee01f69e78e69bdbd1 (diff) | |
download | bcm5719-llvm-8b2faeed022dc14b838416e12754d8d9c3074195.tar.gz bcm5719-llvm-8b2faeed022dc14b838416e12754d8d9c3074195.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.
This is re-landing r322996 which didn't build.
llvm-svn: 323000
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py')
0 files changed, 0 insertions, 0 deletions