projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5431ce6
)
Use more descriptive variable name.
author
Alberto Gonzalez
<boqwxp@airmail.cc>
Mon, 6 Apr 2020 14:37:07 +0000
(14:37 +0000)
committer
Alberto Gonzalez
<boqwxp@airmail.cc>
Mon, 6 Apr 2020 14:37:07 +0000
(14:37 +0000)
Co-Authored-By: whitequark <whitequark@whitequark.org>
passes/hierarchy/submod.cc
patch
|
blob
|
history
diff --git
a/passes/hierarchy/submod.cc
b/passes/hierarchy/submod.cc
index cb4b6d9f47ffb10c068a3d48f914b8f6d0237bcb..2db7cf26b83d93f8d583ec00fcd4e708f2a66dcd 100644
(file)
--- a/
passes/hierarchy/submod.cc
+++ b/
passes/hierarchy/submod.cc
@@
-273,8
+273,8
@@
struct SubmodWorker
if (opt_name.empty())
{
- for (auto w : module->wires())
- w->attributes.erase(ID::submod);
+ for (auto w
ire
: module->wires())
+ w
ire
->attributes.erase(ID::submod);
for (auto cell : module->cells())
{