hanchenye-llvm-project/lldb/scripts/Python/interface
Enrico Granata c3387333ce <rdar://problem/11742979>
SWIG is smart enough to recognize that C++ operators == and != mean __eq__ and __ne__ in Python and do the appropriate translation
But it is not smart enough to recognize that mySBObject == None should return False instead of erroring out
The %pythoncode blocks are meant to provide those extra smarts (and they play some SWIG&Python magic to find the right function to call behind the scenes with no risk of typos :-)
Lastly, SBBreakpoint provides an == but never provided a != operator - common courtesy is to provide both

llvm-svn: 180987
2013-05-03 01:29:27 +00:00
..
SBAddress.i
SBBlock.i
SBBreakpoint.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBBreakpointLocation.i
SBBroadcaster.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBCommandInterpreter.i
SBCommandReturnObject.i <rdar://problem/13499317> 2013-05-02 17:29:04 +00:00
SBCommunication.i
SBCompileUnit.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBData.i
SBDebugger.i
SBDeclaration.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBError.i
SBEvent.i
SBExpressionOptions.i After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
SBFileSpec.i
SBFileSpecList.i
SBFrame.i
SBFunction.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBHostOS.i
SBInputReader.i
SBInstruction.i
SBInstructionList.i
SBLineEntry.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBListener.i
SBModule.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBProcess.i
SBSection.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBSourceManager.i
SBStream.i
SBStringList.i
SBSymbol.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBSymbolContext.i
SBSymbolContextList.i
SBTarget.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBThread.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBType.i After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
SBTypeCategory.i
SBTypeFilter.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeFormat.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeNameSpecifier.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeSummary.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeSynthetic.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBValue.i
SBValueList.i
SBWatchpoint.i