Revert "Re-land "[lldb/docs] Silence warnings when generating website""

This reverts 3 commit:
- f0731d5b61.
- 8e0a087571.
- f2f5d6fb8d.

This changes were introduced to silence the warnings that are printed
when generating the lldb module documentation for the website but it
changed the python bindings and causes test failures on the macos bot:

https://green.lab.llvm.org/green/job/lldb-cmake/59438/

We will have to consider other options to silence these warnings.
This commit is contained in:
Med Ismail Bennani
2023-08-31 16:30:11 +01:00
parent a6293228fd
commit 380c5da98e
81 changed files with 89 additions and 1699 deletions

View File

@@ -1,24 +1,6 @@
%extend lldb::SBScriptObject {
#ifdef SWIGPYTHON
%pythoncode %{
def __eq__(self, other):
return not self.__ne__(other)
def __int__(self):
pass
def __hex__(self):
pass
def __oct__(self):
pass
def __len__(self):
pass
def __iter__(self):
pass
ptr = property(GetPointer, None, doc='''A read only property that returns the underlying script object.''')
lang = property(GetLanguage, None, doc='''A read only property that returns the script language associated with with this script object.''')
%}