Michael137 wrote:

Actually, what you want to do is probably just call 
`TypeSystemClang::RequireCompleteType` on the element type. This is basically 
what the PDB plugin does:
```
https://github.com/llvm/llvm-project/blob/6042e090fac8b06d64666348fe4ca6ca6e4f77db/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp#L685-L695
```

But I suspect this code came before `RequireCompleteType` got introduced. We 
can probably just change the PDB plugin to call `RequireCompleteType` instead 
too. Though Since we're removing that plugin anyway, leaving it as-is is fine 
too.

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

Reply via email to