Skip to content

Commit 18f1c1a

Browse files
committed
Revert "[lldb/docs] Silence warnings when generating website"
This reverts commit 498b59e since it introduces a build failure: https://lab.llvm.org/buildbot/#/builders/68/builds/58995 Signed-off-by: Med Ismail Bennani <[email protected]>
1 parent 4dd392f commit 18f1c1a

File tree

81 files changed

+89
-1756
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+89
-1756
lines changed

lldb/bindings/interface/SBAddressExtensions.i

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ STRING_EXTENSION_OUTSIDE(SBAddress)
77
%pythoncode%{
88
def __eq__(self, other):
99
return not self.__ne__(other)
10-
11-
def __len__(self):
12-
pass
13-
14-
def __iter__(self):
15-
pass
1610
%}
1711

1812
%pythoncode %{

lldb/bindings/interface/SBAttachInfoExtensions.i

Lines changed: 0 additions & 27 deletions
This file was deleted.

lldb/bindings/interface/SBBlockExtensions.i

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,6 @@ STRING_EXTENSION_OUTSIDE(SBBlock)
33
%extend lldb::SBBlock {
44
#ifdef SWIGPYTHON
55
%pythoncode %{
6-
def __int__(self):
7-
pass
8-
9-
def __len__(self):
10-
pass
11-
12-
def __hex__(self):
13-
pass
14-
15-
def __oct__(self):
16-
pass
17-
18-
def __iter__(self):
19-
pass
20-
216
def get_range_at_index(self, idx):
227
if idx < self.GetNumRanges():
238
return [self.GetRangeStartAddress(idx), self.GetRangeEndAddress(idx)]

lldb/bindings/interface/SBBreakpointExtensions.i

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ STRING_EXTENSION_OUTSIDE(SBBreakpoint)
4444
object.'''
4545
return self.GetNumLocations()
4646

47-
def __int__(self):
48-
pass
49-
50-
def __hex__(self):
51-
pass
52-
53-
def __oct__(self):
54-
pass
55-
5647
locations = property(get_breakpoint_location_list, None, doc='''A read only property that returns a list() of lldb.SBBreakpointLocation objects for this breakpoint.''')
5748
location = property(get_locations_access_object, None, doc='''A read only property that returns an object that can access locations by index (not location ID) (location = bkpt.location[12]).''')
5849
id = property(GetID, None, doc='''A read only property that returns the ID of this breakpoint.''')

lldb/bindings/interface/SBBreakpointListExtensions.i

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1 @@
11
STRING_EXTENSION_LEVEL_OUTSIDE(SBBreakpointLocation, lldb::eDescriptionLevelFull)
2-
3-
%extend lldb::SBBreakpointLocation {
4-
#ifdef SWIGPYTHON
5-
// operator== is a free function, which swig does not handle, so we inject
6-
// our own equality operator here
7-
%pythoncode%{
8-
def __eq__(self, other):
9-
return not self.__ne__(other)
10-
11-
def __int__(self):
12-
pass
13-
14-
def __len__(self):
15-
pass
16-
17-
def __hex__(self):
18-
pass
19-
20-
def __oct__(self):
21-
pass
22-
23-
def __iter__(self):
24-
pass
25-
%}
26-
#endif
27-
}
Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1 @@
11
STRING_EXTENSION_OUTSIDE(SBBreakpointName)
2-
3-
%extend lldb::SBBreakpointName {
4-
#ifdef SWIGPYTHON
5-
// operator== is a free function, which swig does not handle, so we inject
6-
// our own equality operator here
7-
%pythoncode%{
8-
def __eq__(self, other):
9-
return not self.__ne__(other)
10-
11-
def __int__(self):
12-
pass
13-
14-
def __len__(self):
15-
pass
16-
17-
def __hex__(self):
18-
pass
19-
20-
def __oct__(self):
21-
pass
22-
23-
def __iter__(self):
24-
pass
25-
%}
26-
#endif
27-
}

lldb/bindings/interface/SBBroadcastExtensions.i

Lines changed: 0 additions & 27 deletions
This file was deleted.

lldb/bindings/interface/SBCommandInterpreterExtensions.i

Lines changed: 0 additions & 27 deletions
This file was deleted.

lldb/bindings/interface/SBCommandInterpreterRunOptionsExtensions.i

Lines changed: 0 additions & 27 deletions
This file was deleted.

lldb/bindings/interface/SBCommandReturnObjectExtensions.i

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,6 @@
11
STRING_EXTENSION_OUTSIDE(SBCommandReturnObject)
22

33
%extend lldb::SBCommandReturnObject {
4-
#ifdef SWIGPYTHON
5-
// operator== is a free function, which swig does not handle, so we inject
6-
// our own equality operator here
7-
%pythoncode%{
8-
def __eq__(self, other):
9-
return not self.__ne__(other)
10-
11-
def __int__(self):
12-
pass
13-
14-
def __len__(self):
15-
pass
16-
17-
def __hex__(self):
18-
pass
19-
20-
def __oct__(self):
21-
pass
22-
23-
def __iter__(self):
24-
pass
25-
%}
26-
#endif
27-
284
// transfer_ownership does nothing, and is here for compatibility with
295
// old scripts. Ownership is tracked by reference count in the ordinary way.
306

lldb/bindings/interface/SBCommunicationExtensions.i

Lines changed: 0 additions & 27 deletions
This file was deleted.

lldb/bindings/interface/SBCompileUnitExtensions.i

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@ STRING_EXTENSION_OUTSIDE(SBCompileUnit)
33
%extend lldb::SBCompileUnit {
44
#ifdef SWIGPYTHON
55
%pythoncode %{
6-
def __int__(self):
7-
pass
8-
9-
def __hex__(self):
10-
pass
11-
12-
def __oct__(self):
13-
pass
14-
156
def __iter__(self):
167
'''Iterate over all line entries in a lldb.SBCompileUnit object.'''
178
return lldb_iter(self, 'GetNumLineEntries', 'GetLineEntryAtIndex')

lldb/bindings/interface/SBDataExtensions.i

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,6 @@ STRING_EXTENSION_OUTSIDE(SBData)
33
%extend lldb::SBData {
44
#ifdef SWIGPYTHON
55
%pythoncode %{
6-
def __eq__(self, other):
7-
return not self.__ne__(other)
8-
9-
def __int__(self):
10-
pass
11-
12-
def __hex__(self):
13-
pass
14-
15-
def __oct__(self):
16-
pass
17-
18-
def __len__(self):
19-
return self.GetByteSize()
20-
21-
def __iter__(self):
22-
pass
236

247
class read_data_helper:
258
def __init__(self, sbdata, readerfunc, item_size):

lldb/bindings/interface/SBDebuggerExtensions.i

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ STRING_EXTENSION_OUTSIDE(SBDebugger)
2424
file = sys.stderr
2525
self.SetErrorFile(SBFile.Create(file, borrow=True))
2626

27-
def __int__(self):
28-
pass
29-
30-
def __hex__(self):
31-
pass
32-
33-
def __oct__(self):
34-
pass
35-
3627
def __iter__(self):
3728
'''Iterate over all targets in a lldb.SBDebugger object.'''
3829
return lldb_iter(self, 'GetNumTargets', 'GetTargetAtIndex')

lldb/bindings/interface/SBDeclarationExtensions.i

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,6 @@ STRING_EXTENSION_OUTSIDE(SBDeclaration)
33
%extend lldb::SBDeclaration {
44
#ifdef SWIGPYTHON
55
%pythoncode %{
6-
def __int__(self):
7-
pass
8-
9-
def __hex__(self):
10-
pass
11-
12-
def __oct__(self):
13-
pass
14-
15-
def __len__(self):
16-
pass
17-
18-
def __iter__(self):
19-
pass
20-
216
file = property(GetFileSpec, None, doc='''A read only property that returns an lldb object that represents the file (lldb.SBFileSpec) for this line entry.''')
227
line = property(GetLine, None, doc='''A read only property that returns the 1 based line number for this line entry, a return value of zero indicates that no line information is available.''')
238
column = property(GetColumn, None, doc='''A read only property that returns the 1 based column number for this line entry, a return value of zero indicates that no column information is available.''')

0 commit comments

Comments
 (0)