[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 07:03:04 PDT 2023
Michael137 added inline comments.
Herald added a subscriber: JDevlieghere.
================
Comment at: lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py:197
+ # FIXME: under C++ rules this should call A::B::func() since we imported namespace 'A'
+ self.expect("expr B::func()", error=True, substrs=["no member named 'func' in namespace 'B'"])
----------------
I need to double check how exactly this used to work and whether there's a fix for it on top of the current patch. But not supporting this seems less problematic than choosing the wrong namespace
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