mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 13:19:05 +00:00
Remove .c_str() calls from parameters to log_warning()/log_warning_noprefix()
This commit is contained in:
parent
d1fd6de6da
commit
a7c46f7b4a
25 changed files with 54 additions and 54 deletions
|
@ -95,7 +95,7 @@ struct SubmodWorker
|
|||
for (auto &conn : cell->connections())
|
||||
flag_signal(conn.second, true, ct.cell_output(cell->type, conn.first), ct.cell_input(cell->type, conn.first), false, false);
|
||||
} else {
|
||||
log_warning("Port directions for cell %s (%s) are unknown. Assuming inout for all ports.\n", cell->name.c_str(), cell->type.c_str());
|
||||
log_warning("Port directions for cell %s (%s) are unknown. Assuming inout for all ports.\n", cell->name, cell->type);
|
||||
for (auto &conn : cell->connections())
|
||||
flag_signal(conn.second, true, true, true, false, false);
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ struct SubmodWorker
|
|||
for (auto &conn : cell->connections())
|
||||
flag_signal(conn.second, false, false, false, true, true);
|
||||
if (flag_found_something)
|
||||
log_warning("Port directions for cell %s (%s) are unknown. Assuming inout for all ports.\n", cell->name.c_str(), cell->type.c_str());
|
||||
log_warning("Port directions for cell %s (%s) are unknown. Assuming inout for all ports.\n", cell->name, cell->type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue