================
@@ -1504,7 +1507,9 @@ 
PdbAstBuilderClang::ToCompilerDeclContext(clang::DeclContext *context) {
 }
 
 clang::Decl *PdbAstBuilderClang::FromCompilerDecl(CompilerDecl decl) {
-  return ClangUtil::GetDecl(decl);
+  if (decl.GetTypeSystem() != nullptr)
----------------
Nerixyz wrote:

I was asking because in 
[`ClangUtil::GetQualType`](https://github.com/llvm/llvm-project/blob/7edf4e15ffbfb0ee7bd1b34fce85a3fb9c6c4872/lldb/source/Plugins/ExpressionParser/Clang/ClangUtil.cpp#L38)
 we do check for the type system.

https://github.com/llvm/llvm-project/pull/166455
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to