[Lldb-commits] [lldb] [LLDB][NativePDB] Allow type lookup in namespaces (PR #149876)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 23 04:30:32 PDT 2025
================
@@ -134,7 +134,9 @@ bool TypeQuery::ContextMatches(
if (ctx == ctx_end)
return false; // Pattern too long.
- if (ctx->kind == CompilerContextKind::Namespace && ctx->name.IsEmpty()) {
+ if ((ctx->kind & CompilerContextKind::Namespace) ==
----------------
Michael137 wrote:
@labath since you looked at this some time ago, do you see a concern with this? I guess the alternative is to make sure we don't construct the `TypeQuery` with a `AnyDeclContext` in PDB-land. @Nerixyz why can't we do that? Is there some PDB limitation?
https://github.com/llvm/llvm-project/pull/149876
More information about the lldb-commits
mailing list