forked from OSchip/llvm-project
Fixing syntax typos in Python formatters
llvm-svn: 153910
This commit is contained in:
parent
d70cde134b
commit
a20e863875
|
@ -166,16 +166,16 @@ class NSArray_SynthProvider:
|
|||
|
||||
if name_string == '__NSArrayI':
|
||||
wrapper = NSArrayI_SynthProvider(self.valobj, dict, class_data.sys_params)
|
||||
statistics.metric_hit('code_notrun',valobj.GetName())
|
||||
statistics.metric_hit('code_notrun',self.valobj.GetName())
|
||||
elif name_string == '__NSArrayM':
|
||||
wrapper = NSArrayM_SynthProvider(self.valobj, dict, class_data.sys_params)
|
||||
statistics.metric_hit('code_notrun',valobj.GetName()))
|
||||
statistics.metric_hit('code_notrun',self.valobj.GetName())
|
||||
elif name_string == '__NSCFArray':
|
||||
wrapper = NSArrayCF_SynthProvider(self.valobj, dict, class_data.sys_params)
|
||||
statistics.metric_hit('code_notrun',valobj.GetName()))
|
||||
statistics.metric_hit('code_notrun',self.valobj.GetName())
|
||||
else:
|
||||
wrapper = NSArrayKVC_SynthProvider(self.valobj, dict, class_data.sys_params)
|
||||
statistics.metric_hit('unknown_class',str(valobj.GetName())) + " seen as " + name_string)
|
||||
statistics.metric_hit('unknown_class',str(self.valobj.GetName()) + " seen as " + name_string)
|
||||
return wrapper;
|
||||
|
||||
def CFArray_SummaryProvider (valobj,dict):
|
||||
|
|
|
@ -53,7 +53,7 @@ class NSBundleKnown_SummaryProvider:
|
|||
self.sys_params.types_cache.NSString)
|
||||
my_string = text.GetSummary()
|
||||
if (my_string == None) or (my_string == ''):
|
||||
statistics.metric_hit('unknown_class',str(valobj.GetName())) + " triggered unkown pointer location")
|
||||
statistics.metric_hit('unknown_class',str(valobj.GetName()) + " triggered unkown pointer location")
|
||||
return NSBundleUnknown_SummaryProvider(self.valobj, self.sys_params).url_text()
|
||||
else:
|
||||
statistics.metric_hit('code_notrun',self.valobj)
|
||||
|
|
|
@ -156,7 +156,7 @@ class NSUntaggedNumber_SummaryProvider:
|
|||
data_double = struct.unpack('d', struct.pack('Q', data_plain))[0]
|
||||
statistics.metric_hit('code_notrun',self.valobj)
|
||||
return '(double)' + str(data_double)
|
||||
statistics.metric_hit('unknown_class',str(valobj.GetName())) + " had unknown data_type " + str(data_type))
|
||||
statistics.metric_hit('unknown_class',str(valobj.GetName()) + " had unknown data_type " + str(data_type))
|
||||
return 'absurd: dt = ' + str(data_type)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue