clangformat

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2023-08-31 10:30:19 +02:00
parent 98b09c369f
commit a9a9251e42
2 changed files with 4 additions and 2 deletions

View File

@ -1349,7 +1349,8 @@ class MachXO2Packer
} }
} }
if (!found) if (!found)
log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type.c_str(ctx), ci->name.c_str(ctx)); log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type.c_str(ctx),
ci->name.c_str(ctx));
} }
} }
} }

View File

@ -94,7 +94,8 @@ Property Arch::parse_lattice_param(const Property &val, IdString prop, int width
if (int(val.str.size()) > width) { if (int(val.str.size()) > width) {
for (auto b : val.str.substr(width)) { for (auto b : val.str.substr(width)) {
if (b == Property::S1) if (b == Property::S1)
log_error("Found bitvector value for property %s.%s with width greater than %d - perhaps a string was " log_error("Found bitvector value for property %s.%s with width greater than %d - perhaps a string "
"was "
"converted to bits?\n", "converted to bits?\n",
ci, nameOf(prop), width); ci, nameOf(prop), width);
} }