mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-19 16:04:50 +00:00
Remove .c_str() calls from log()/log_error()
There are some leftovers, but this is an easy regex-based approach that removes most of them.
This commit is contained in:
parent
c2291c10a6
commit
e0ae7b7af4
140 changed files with 623 additions and 623 deletions
|
@ -404,7 +404,7 @@ void proc_dlatch(proc_dlatch_db_t &db, RTLIL::Process *proc)
|
|||
for (auto &bit : lhs) {
|
||||
State val = db.initvals(bit);
|
||||
if (db.initvals(bit) != State::Sx) {
|
||||
log("Removing init bit %s for non-memory siginal `%s.%s` in process `%s.%s`.\n", log_signal(val), db.module->name.c_str(), log_signal(bit), db.module->name.c_str(), proc->name.c_str());
|
||||
log("Removing init bit %s for non-memory siginal `%s.%s` in process `%s.%s`.\n", log_signal(val), db.module->name, log_signal(bit), db.module->name, proc->name);
|
||||
}
|
||||
db.initvals.remove_init(bit);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue