From a3938de73458eca8f12d279dff305bf71a2d3d60 Mon Sep 17 00:00:00 2001 From: gatecat Date: Tue, 4 Aug 2026 10:51:28 +0200 Subject: [PATCH] clangformat Signed-off-by: gatecat --- generic/viaduct/fabulous/fabulous.cc | 2 +- gui/designwidget.cc | 3 +-- gui/pythontab.cc | 2 +- nexus/pack.cc | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/generic/viaduct/fabulous/fabulous.cc b/generic/viaduct/fabulous/fabulous.cc index 4846245c..0149ce9c 100644 --- a/generic/viaduct/fabulous/fabulous.cc +++ b/generic/viaduct/fabulous/fabulous.cc @@ -30,9 +30,9 @@ #define VIADUCT_CONSTIDS "viaduct/fabulous/constids.inc" #include "viaduct_constids.h" +#include "bel_timing.h" #include "fab_cfg.h" #include "fab_defs.h" -#include "bel_timing.h" #include "fasm.h" #include "pack.h" #include "pcf.h" diff --git a/gui/designwidget.cc b/gui/designwidget.cc index 1f2c8955..f94fc431 100644 --- a/gui/designwidget.cc +++ b/gui/designwidget.cc @@ -736,8 +736,7 @@ void DesignWidget::onSelectionChanged(int num, const QItemSelection &, const QIt addProperty(topItem, QtType::QString, "Conflicting Net", ctx->nameOf(ctx->getConflictingPipNet(pip)), ElementType::NET); addProperty(topItem, QtType::QString, "Src Wire", ctx->nameOfWire(ctx->getPipSrcWire(pip)), ElementType::WIRE); - addProperty(topItem, QtType::QString, "Dest Wire", ctx->nameOfWire(ctx->getPipDstWire(pip)), - ElementType::WIRE); + addProperty(topItem, QtType::QString, "Dest Wire", ctx->nameOfWire(ctx->getPipDstWire(pip)), ElementType::WIRE); QtProperty *attrsItem = addSubGroup(topItem, "Attributes"); for (auto &item : ctx->getPipAttrs(pip)) { diff --git a/gui/pythontab.cc b/gui/pythontab.cc index f47bf7d2..e1f31d98 100644 --- a/gui/pythontab.cc +++ b/gui/pythontab.cc @@ -29,7 +29,7 @@ const QString PythonTab::MULTILINE_PROMPT = "... "; PythonTab::PythonTab(QWidget *parent) : QWidget(parent), initialized(false) { - const QFont f = QFontDatabase::systemFont(QFontDatabase::FixedFont); + const QFont f = QFontDatabase::systemFont(QFontDatabase::FixedFont); // Add text area for Python output and input line console = new PythonConsole(); console->setMinimumHeight(100); diff --git a/nexus/pack.cc b/nexus/pack.cc index 4bbc8f0a..0768afaf 100644 --- a/nexus/pack.cc +++ b/nexus/pack.cc @@ -1347,7 +1347,7 @@ struct NexusPacker iol_rules[oshxtype].port_xform[id_RST] = id_LSROUT; iol_rules[oshxtype].port_xform[id_Q] = id_DOUT; for (int i = 0; i < gear; i++) - iol_rules[oshxtype].port_xform[ctx->idf("D%d", i)] = ctx->idf("TXDATA%d", 2*i); + iol_rules[oshxtype].port_xform[ctx->idf("D%d", i)] = ctx->idf("TXDATA%d", 2 * i); for (std::string dq : {"DQ", "DQS"}) { IdString tshxtype = ctx->idf("TSHX%d%s", gear, dq.c_str());