mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[UpdateTestChecks] Don't skip attributes when comparing functions
This commit is contained in:
parent
96e421f745
commit
470e74fc55
@ -232,7 +232,7 @@ class function_body(object):
|
||||
arg_names.add(match.group(3))
|
||||
return match.group(1) + match.group(match.lastindex)
|
||||
def repl_arg_names(match):
|
||||
if match.group(3) in arg_names:
|
||||
if match.group(3) is not None and match.group(3) in arg_names:
|
||||
return match.group(1) + match.group(match.lastindex)
|
||||
return match.group(1) + match.group(2) + match.group(match.lastindex)
|
||||
if self.attrs != attrs:
|
||||
|
Loading…
Reference in New Issue
Block a user