brucem marked an inline comment as done.
brucem added inline comments.

================
Comment at: lldb/bindings/interface/SBProcessInfo.i:78
+
+    %feature("docstring",
+    "Return the specified argument given to the described process."
----------------
teemperor wrote:
> Can you add this line here?
> 
> ```
> %feature("autodoc", "GetArgumentAtIndex(int index) -> string") 
> GetArgumentAtIndex;
> ```
> 
> Otherwise the Python docs will mention that this returns `const char *` which 
> is always kinda weird for users to see.
I changed this to have the whole thing be an autodoc rather than both an 
autodoc and a docstring. This isn't consistently done throughout the code 
though and in this case, the resulting syntax help is a bit different.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103675/new/

https://reviews.llvm.org/D103675

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to