================
@@ -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:
Thought about this a bit more and I think you're right.
https://github.com/llvm/llvm-project/pull/166455
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits