mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
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:
@@ -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.''')
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user