[Lldb-commits] [PATCH] D103675: [LLDB/API] Expose args and env from SBProcessInfo.
Bruce Mitchener via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 4 09:31:08 PDT 2021
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
More information about the lldb-commits
mailing list