[Lldb-commits] [PATCH] D147436: [lldb][ClangExpression] Filter out non-root namespaces in FindNamespace
Michael Buch via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 3 17:41:57 PDT 2023
Michael137 added a comment.
In D147436#4241975 <https://reviews.llvm.org/D147436#4241975>, @aprantl wrote:
> Just out of curiosity:
>
> namespace A {
> namespace B {
> namespace C {
> struct Bar {};
> }
> }
> }
>
> namespace B {
> namespace C {
> struct Foo {};
> }
> }
>
> Does this work?
>
> (lldb) expr C::Foo f
Yup that does currently work. With this patch it wouldn't anymore
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147436/new/
https://reviews.llvm.org/D147436
More information about the lldb-commits
mailing list