diff options
Diffstat (limited to 'lldb/scripts/Python/interface/SBCompileUnit.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBCompileUnit.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBCompileUnit.i b/lldb/scripts/Python/interface/SBCompileUnit.i index 95d68a640b8..3bfaf70b997 100644 --- a/lldb/scripts/Python/interface/SBCompileUnit.i +++ b/lldb/scripts/Python/interface/SBCompileUnit.i @@ -89,6 +89,12 @@ public: bool GetDescription (lldb::SBStream &description); + bool + operator == (const lldb::SBCompileUnit &rhs) const; + + bool + operator != (const lldb::SBCompileUnit &rhs) const; + %pythoncode %{ __swig_getmethods__["file"] = GetFileSpec if _newclass: file = property(GetFileSpec, None, doc='''A read only property that returns the same result an lldb object that represents the source file (lldb.SBFileSpec) for the compile unit.''') |