mentlerd wrote:

> I'm not sure if I understand this correctly. You were checking that there 
> _wasn't_ a synthetic children provider: `self.checkOverride(vec, 
> before=None)`. But in you're description, you said that you expected a 
> provider.

I was checking that the scripted synthetic child provider's _python 
implementation_ is `None` with the [new API 
`SBValue::GetTypeSyntheticImplementation()`](https://lldb.llvm.org/use/variable.html#api-attached-synthetic-child-provider).
 That is to be expected if the SCP is implemented in C++, but for libstdc++ 
that is not the case, there is a Python implementation.

The now removed test wished to check if a `CXXSyntheticChildren` based SCP was 
compatible with `SBValue::SetTypeSynthetic()`s (another new API) ability to 
influence the SCP choice.

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

Reply via email to