diff options
Diffstat (limited to 'lldb/scripts/interface/SBDeclaration.i')
| -rw-r--r-- | lldb/scripts/interface/SBDeclaration.i | 14 | 
1 files changed, 4 insertions, 10 deletions
diff --git a/lldb/scripts/interface/SBDeclaration.i b/lldb/scripts/interface/SBDeclaration.i index 1fa801425ef..96407d7c60f 100644 --- a/lldb/scripts/interface/SBDeclaration.i +++ b/lldb/scripts/interface/SBDeclaration.i @@ -54,16 +54,10 @@ namespace lldb {          operator != (const lldb::SBDeclaration &rhs) const;          %pythoncode %{ -            __swig_getmethods__["file"] = GetFileSpec -            if _newclass: file = property(GetFileSpec, None, doc='''A read only property that returns an lldb object that represents the file (lldb.SBFileSpec) for this line entry.''') - -            __swig_getmethods__["line"] = GetLine -            if _newclass: 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.''') - -            __swig_getmethods__["column"] = GetColumn -            if _newclass: 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.''') -            %} - +            file = property(GetFileSpec, None, doc='''A read only property that returns an lldb object that represents the file (lldb.SBFileSpec) for this line entry.''') +            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.''') +            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.''') +        %}      };  } // namespace lldb  | 

