llvm: set precise scopes on namespace types and variables

This will allow accessing non-local declarations from debuggers, which,
AFAICT, was impossible before.
Getting scopes right already works for type declarations and functions,
but will need some fiddling for variables:

For those, I tried imitating what Clang does for static member
variables, but LLDB tries to re-mangle those and then fails at lookup,
while GDB outright crashes. Hopefully I can find some other dwarven
incantation to do the right thing.
876258abe4Tau committed on 7/19/2024, 3:46:34 PMparentebd9efa
3 files changedLine totals unavailable