[Lldb-commits] [lldb] [lldb/API] Mark SBValue with error as invalid (PR #158759)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 17 11:39:41 PDT 2025


https://github.com/jimingham requested changes to this pull request.

This doesn't sound like a good idea to me.  IsValid means "will I get meaningful information back if I ask a question of this object".  You certainly want to know if the Error state of the SBValue is in fact valid.  So an SBValue with valid error information should always be in the IsValid = true state.

https://github.com/llvm/llvm-project/pull/158759


More information about the lldb-commits mailing list