[Lldb-commits] [PATCH] D159017: [lldb/docs] Silence warnings when generating website

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 29 05:39:41 PDT 2023


mib added inline comments.


================
Comment at: lldb/docs/conf.py:46
 autodoc_default_options = {
     "special-members": "__int__, __len__, __hex__, __oct__, __iter__",
 }
----------------
@JDevlieghere AFAIK, if we want to silence the warnings, we should disable generating special members (such as `__hex__`) however I think this would be a missed opportunity since they can make using SB classes in python more ergonomic, for example using `hex(SBAddress)` instead of `hex(SBAddress.GetLoadAddress)`


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

https://reviews.llvm.org/D159017



More information about the lldb-commits mailing list