Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / bindings / interface / SBErrorExtensions.i
blobd2bdc40b99381bcfc2f55ad5533b677bed30aacb
1 STRING_EXTENSION_OUTSIDE(SBError)
3 %extend lldb::SBError {
4 #ifdef SWIGPYTHON
5 %pythoncode %{
6 def __int__(self):
7 return self.GetError()
9 value = property(GetError, None, doc='''A read only property that returns the same result as GetError().''')
10 fail = property(Fail, None, doc='''A read only property that returns the same result as Fail().''')
11 success = property(Success, None, doc='''A read only property that returns the same result as Success().''')
12 description = property(GetCString, None, doc='''A read only property that returns the same result as GetCString().''')
13 type = property(GetType, None, doc='''A read only property that returns the same result as GetType().''')
15 #endif