[Lldb-commits] [lldb] Add doc strings for SBValue::IsValid and SBValue::GetError. (PR #94007)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri May 31 13:27:16 PDT 2024


================
@@ -45,6 +45,36 @@ SBValue instance which interprets the value object as representing the head of a
 linked list."
 ) lldb::SBValue;
 
+%feature("docstring", "
+Returns true if the SBValue holds any useful state
+and false otherwise.
+IsValid is a very weak API, lldb will only return
----------------
bulbazord wrote:

Suggestion: "weak" -> "limited"
In my opinion, weak sounds like a value judgement as opposed to limited which sounds more neutral.

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


More information about the lldb-commits mailing list