================
@@ -2267,11 +2267,9 @@ TypeSP SymbolFileNativePDB::CreateTypedef(PdbGlobalSymId 
id) {
   if (!ts)
     return nullptr;
 
-  auto *typedef_decl = ts->GetNativePDBParser()->GetOrCreateTypedefDecl(id);
-
-  CompilerType ct = target_type->GetForwardCompilerType();
-  if (auto *clang = llvm::dyn_cast_or_null<TypeSystemClang>(ts.get()))
-    ct = clang->GetType(clang->getASTContext().getTypeDeclType(typedef_decl));
----------------
Nerixyz wrote:

Great that we can simplify this!

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

Reply via email to