clangformat

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-08-20 09:46:49 +01:00
parent be607c10a8
commit 109aa63474
2 changed files with 4 additions and 2 deletions

View File

@ -88,7 +88,8 @@ PYBIND11_MODULE(MODULE_NAME, m)
{
py::register_exception_translator([](std::exception_ptr p) {
try {
if (p) std::rethrow_exception(p);
if (p)
std::rethrow_exception(p);
} catch (const assertion_failure &e) {
PyErr_SetString(PyExc_AssertionError, e.what());
}

View File

@ -246,7 +246,8 @@ struct Timing
// been visited
auto it = port_fanin.find(&port.second);
if (it == port_fanin.end())
log_error("Timing counted negative fanin count for port %s.%s (net %s), please report this error.\n",
log_error("Timing counted negative fanin count for port %s.%s (net %s), please report this "
"error.\n",
ctx->nameOf(usr.cell), ctx->nameOf(port.first), ctx->nameOf(port.second.net));
if (--it->second == 0) {
topological_order.emplace_back(port.second.net);