[all-commits] [llvm/llvm-project] 6813ef: Re-land "[lldb/docs] Silence warnings when generat...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Thu Aug 31 12:35:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6813ef37377e8d8fadf6efe01e1ed80cc53b9c86
      https://github.com/llvm/llvm-project/commit/6813ef37377e8d8fadf6efe01e1ed80cc53b9c86
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M lldb/bindings/interface/SBAddressExtensions.i
    A lldb/bindings/interface/SBBreakpointListExtensions.i
    M lldb/bindings/interface/SBBreakpointLocationExtensions.i
    M lldb/bindings/interface/SBBreakpointNameExtensions.i
    A lldb/bindings/interface/SBBroadcastExtensions.i
    M lldb/bindings/interface/SBCompileUnitExtensions.i
    M lldb/bindings/interface/SBDataExtensions.i
    M lldb/bindings/interface/SBDeclarationExtensions.i
    M lldb/bindings/interface/SBErrorExtensions.i
    M lldb/bindings/interface/SBFileSpecExtensions.i
    A lldb/bindings/interface/SBFileSpecListExtensions.i
    M lldb/bindings/interface/SBFrameExtensions.i
    M lldb/bindings/interface/SBFunctionExtensions.i
    M lldb/bindings/interface/SBInstructionExtensions.i
    M lldb/bindings/interface/SBLineEntryExtensions.i
    M lldb/bindings/interface/SBMemoryRegionInfoExtensions.i
    A lldb/bindings/interface/SBMemoryRegionInfoListExtensions.i
    M lldb/bindings/interface/SBModuleExtensions.i
    A lldb/bindings/interface/SBModuleSpecListExtensions.i
    M lldb/bindings/interface/SBProcessDocstrings.i
    M lldb/bindings/interface/SBProcessExtensions.i
    A lldb/bindings/interface/SBQueueItemExtensions.i
    M lldb/bindings/interface/SBScriptObjectExtensions.i
    M lldb/bindings/interface/SBSectionExtensions.i
    M lldb/bindings/interface/SBStreamExtensions.i
    A lldb/bindings/interface/SBStructuredDataExtensions.i
    M lldb/bindings/interface/SBSymbolExtensions.i
    M lldb/bindings/interface/SBTargetExtensions.i
    A lldb/bindings/interface/SBThreadCollectionExtensions.i
    M lldb/bindings/interface/SBThreadExtensions.i
    M lldb/bindings/interface/SBTypeCategoryExtensions.i
    M lldb/bindings/interface/SBTypeEnumMemberExtensions.i
    M lldb/bindings/interface/SBTypeExtensions.i
    M lldb/bindings/interface/SBTypeFilterExtensions.i
    M lldb/bindings/interface/SBTypeFormatExtensions.i
    M lldb/bindings/interface/SBTypeNameSpecifierExtensions.i
    M lldb/bindings/interface/SBTypeSummaryExtensions.i
    M lldb/bindings/interface/SBTypeSyntheticExtensions.i
    M lldb/bindings/interface/SBUnixSignalsExtensions.i
    M lldb/bindings/interface/SBValueExtensions.i
    M lldb/bindings/interface/SBWatchpointExtensions.i
    M lldb/bindings/interfaces.swig
    M lldb/bindings/python/python-extensions.swig
    M lldb/docs/conf.py
    M lldb/docs/python_api.rst

  Log Message:
  -----------
  Re-land "[lldb/docs] Silence warnings when generating website"

This patch re-lands f0731d5b61ba with more fixes and improvements.

First, this patch removes `__eq__` implementations from classes that
didn't implemented `operator!=` on the C++ implementation.

This patch removes sphinx document generation for special members such
as `__len__`, since there is no straightforward way to skip class that
don't implement them. We also don't want to introduce a change in
behavior by implementing artifical special members for classes that are
missing them.

Finally, this patch improve the ergonomics of some classes by
implementing special members where it makes sense, i.e. `hex(SBFrame)`
is equivalent to `SBFrame.GetPC()`.

Differential Revision: https://reviews.llvm.org/D159017

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>




More information about the All-commits mailing list