diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-09-27 11:30:16 +0000 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-09-27 11:30:16 +0000 |
| commit | 4a90ee1a615f8860b47c0938013de9ce6f9bcaba (patch) | |
| tree | c6e5b533e4c06710081352d8458c4b51a864e36e | |
| parent | 6328f948adfad6cbf310549bb2b9acea895aa5bf (diff) | |
| download | bcm5719-llvm-4a90ee1a615f8860b47c0938013de9ce6f9bcaba.tar.gz bcm5719-llvm-4a90ee1a615f8860b47c0938013de9ce6f9bcaba.zip | |
Fix some swig warnings
Previously, these were unseen because the wrapper script would swallow
them. This fixes the following types of warnings:
- methods being declared more than once
- swig complained about ignoring operator=, so I just removed it
llvm-svn: 373069
| -rw-r--r-- | lldb/scripts/interface/SBBreakpoint.i | 6 | ||||
| -rw-r--r-- | lldb/scripts/interface/SBBreakpointName.i | 2 | ||||
| -rw-r--r-- | lldb/scripts/interface/SBModule.i | 6 | ||||
| -rw-r--r-- | lldb/scripts/interface/SBStructuredData.i | 2 | ||||
| -rw-r--r-- | lldb/scripts/interface/SBThreadPlan.i | 8 |
5 files changed, 3 insertions, 21 deletions
diff --git a/lldb/scripts/interface/SBBreakpoint.i b/lldb/scripts/interface/SBBreakpoint.i index 8aabb2b3d28..6df0b958085 100644 --- a/lldb/scripts/interface/SBBreakpoint.i +++ b/lldb/scripts/interface/SBBreakpoint.i @@ -223,12 +223,6 @@ public: SBError AddLocation(SBAddress &address); - bool - operator == (const lldb::SBBreakpoint& rhs); - - bool - operator != (const lldb::SBBreakpoint& rhs); - static bool EventIsBreakpointEvent (const lldb::SBEvent &event); diff --git a/lldb/scripts/interface/SBBreakpointName.i b/lldb/scripts/interface/SBBreakpointName.i index f9feaa9a5e4..42dd4236338 100644 --- a/lldb/scripts/interface/SBBreakpointName.i +++ b/lldb/scripts/interface/SBBreakpointName.i @@ -34,8 +34,6 @@ public: ~SBBreakpointName(); - const lldb::SBBreakpointName &operator=(const lldb::SBBreakpointName &rhs); - // Tests to see if the opaque breakpoint object in this object matches the // opaque breakpoint object in "rhs". bool operator==(const lldb::SBBreakpointName &rhs); diff --git a/lldb/scripts/interface/SBModule.i b/lldb/scripts/interface/SBModule.i index ba8f5fba2a3..06a4628d52b 100644 --- a/lldb/scripts/interface/SBModule.i +++ b/lldb/scripts/interface/SBModule.i @@ -342,12 +342,6 @@ public: lldb::SBAddress GetObjectFileEntryPointAddress() const; - bool - operator == (const lldb::SBModule &rhs) const; - - bool - operator != (const lldb::SBModule &rhs) const; - %pythoncode %{ def __len__(self): '''Return the number of symbols in a lldb.SBModule object.''' diff --git a/lldb/scripts/interface/SBStructuredData.i b/lldb/scripts/interface/SBStructuredData.i index 99b32474b17..c7601bf6cf9 100644 --- a/lldb/scripts/interface/SBStructuredData.i +++ b/lldb/scripts/interface/SBStructuredData.i @@ -33,8 +33,6 @@ namespace lldb { void Clear(); - lldb::SBStructuredData &operator=(const lldb::SBStructuredData &rhs); - lldb::StructuredDataType GetType() const; size_t GetSize() const; diff --git a/lldb/scripts/interface/SBThreadPlan.i b/lldb/scripts/interface/SBThreadPlan.i index 05789f1fabf..edce0ee49c8 100644 --- a/lldb/scripts/interface/SBThreadPlan.i +++ b/lldb/scripts/interface/SBThreadPlan.i @@ -38,6 +38,9 @@ public: ~SBThreadPlan (); bool + IsValid(); + + bool IsValid() const; explicit operator bool() const; @@ -89,11 +92,6 @@ public: bool IsPlanStale(); - bool - IsValid(); - - explicit operator bool() const; - SBThreadPlan QueueThreadPlanForStepOverRange (SBAddress &start_address, lldb::addr_t range_size); |

