projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdaa3f8
)
[UpdateTestChecks] Don't skip attributes when comparing functions
author
sstefan1
<sstipanovic@s-energize.com>
Sat, 29 Aug 2020 13:35:14 +0000
(15:35 +0200)
committer
sstefan1
<sstipanovic@s-energize.com>
Sat, 29 Aug 2020 13:37:36 +0000
(15:37 +0200)
llvm/utils/UpdateTestChecks/common.py
patch
|
blob
|
history
diff --git
a/llvm/utils/UpdateTestChecks/common.py
b/llvm/utils/UpdateTestChecks/common.py
index
23c4c1d
..
dd0e132
100644
(file)
--- a/
llvm/utils/UpdateTestChecks/common.py
+++ b/
llvm/utils/UpdateTestChecks/common.py
@@
-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) i
s not None and match.group(3) i
n 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: