================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to