jimingham wrote:

I agree with Raphael, adding a friend class so we can test that we don't touch 
null objects seems overkill.

If you had an example that triggered this investigation, it might be worthwhile 
to turn that into a test case.  The more interesting thing to assert is that in 
a case where we thought we should be able to get a CPP object pointer but 
didn't, we do something reasonable beyond just not crashing.

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

Reply via email to