3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-04 10:20:24 +00:00

Make log_experimental() just take an std::string, since it doesn't need to be varargs.

This commit is contained in:
Robert O'Callahan 2025-07-22 03:51:29 +00:00
parent 64c660f213
commit fa90e2503e
3 changed files with 7 additions and 13 deletions

View file

@ -253,7 +253,7 @@ void Pass::call(RTLIL::Design *design, std::vector<std::string> args)
log_cmd_error("No such command: %s (type 'help' for a command overview)\n", args[0].c_str());
if (pass_register[args[0]]->experimental_flag)
log_experimental("%s", args[0].c_str());
log_experimental(args[0]);
size_t orig_sel_stack_pos = design->selection_stack.size();
auto state = pass_register[args[0]]->pre_execute();