mirror of
https://github.com/YosysHQ/yosys
synced 2025-12-23 20:53:47 +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
|
|
@ -117,9 +117,9 @@
|
|||
if (list) {
|
||||
log("Caching is %s by default.\n", LibertyAstCache::instance.cache_by_default ? "enabled" : "disabled");
|
||||
for (auto const &entry : LibertyAstCache::instance.cache_path)
|
||||
log("Caching is %s for `%s'.\n", entry.second ? "enabled" : "disabled", entry.first.c_str());
|
||||
log("Caching is %s for `%s'.\n", entry.second ? "enabled" : "disabled", entry.first);
|
||||
for (auto const &entry : LibertyAstCache::instance.cached)
|
||||
log("Data for `%s' is currently cached.\n", entry.first.c_str());
|
||||
log("Data for `%s' is currently cached.\n", entry.first);
|
||||
} else if (enable || disable) {
|
||||
if (all) {
|
||||
LibertyAstCache::instance.cache_by_default = enable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue