[CodeGenPrepare] Drop nsw flags in `optimizeLoadExt` (#118180)
[llvm-project.git] / lldb / bindings / interface / SBWatchpointExtensions.i
blobc18f011e31872da98f4462bef34b712c3f39333d
1 STRING_EXTENSION_LEVEL_OUTSIDE(SBWatchpoint, lldb::eDescriptionLevelVerbose)
3 %extend lldb::SBWatchpoint {
4 #ifdef SWIGPYTHON
5 %pythoncode%{
6 # operator== is a free function, which swig does not handle, so we inject
7 # our own equality operator here
8 def __eq__(self, other):
9 return not self.__ne__(other)
11 def __hex__(self):
12 return self.GetWatchAddress()
14 def __len__(self):
15 return self.GetWatchSize()
17 #endif