clangformat

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-01-20 20:30:43 +00:00
parent 7c81d4e630
commit 4754ab3894
2 changed files with 1 additions and 5 deletions

View File

@ -85,10 +85,7 @@ struct JsonFrontendImpl
NPNR_ASSERT_FALSE("invalid json port direction");
}
PortType get_port_dir(ModulePortDataType &port) const
{
return lookup_portdir(port["direction"].string_value());
}
PortType get_port_dir(ModulePortDataType &port) const { return lookup_portdir(port["direction"].string_value()); }
int get_array_offset(const Json &obj) const
{

View File

@ -112,7 +112,6 @@ static void pack_nonlut_ffs(Context *ctx)
}
}
// Merge a net into a constant net
static void set_net_constant(const Context *ctx, NetInfo *orig, NetInfo *constnet, bool constval)
{