[Lldb-commits] [lldb] [LLDB] Update SBMemoryRegionInfo doc strings to document len and str (PR #149903)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 21 21:05:45 PDT 2025


JDevlieghere wrote:

> @JDevlieghere How would we go about documenting some of the python methods `len()` and `str()` in doxygen? Asking for myself if you have an example

Since those are Python specific they should remain docstrings in the `.i` interface files. I expect the latter to stick around, for that reason or when we have comments that are more tailored towards Python. But generic comments should go in the headers as Doxygen comments so both C++ and Python users can benefit from them. Unfortunately there's also no automatic way to convert them to Lua documentation, but maybe that'll come in a future version of SWIG. 

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


More information about the lldb-commits mailing list