Skip to content

Commit 58cfd59

Browse files
committed
format + includes
Signed-off-by: Matt Liberty <[email protected]>
1 parent f8847d0 commit 58cfd59

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

src/ant/src/Polygon.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void wiresToPolygonSetMap(odb::dbWire* wires,
5353
std::map<odb::dbTechLayer*, PolygonSet>& set_by_layer)
5454
{
5555
using gtl::operators::operator+=;
56-
56+
5757
odb::dbShape shape;
5858
odb::dbWireShapeItr shapes_it;
5959
std::vector<odb::dbShape> via_boxes;
@@ -87,7 +87,7 @@ void avoidPinIntersection(odb::dbNet* db_net,
8787
std::map<odb::dbTechLayer*, PolygonSet>& set_by_layer)
8888
{
8989
using gtl::operators::operator-=;
90-
90+
9191
// iterate all instance pin
9292
for (odb::dbITerm* iterm : db_net->getITerms()) {
9393
odb::dbMTerm* mterm = iterm->getMTerm();

src/dpl/src/optimization/detailed_mis.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ void DetailedMis::populateGrid()
373373
// Inserts movable cells into the grid.
374374

375375
for (auto& row : grid_) {
376-
for (auto & bucket : row) {
376+
for (auto& bucket : row) {
377377
bucket->clear();
378378
}
379379
}

src/gpl/src/fft.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <cfloat>
88
#include <cmath>
99
#include <cstdlib>
10+
#include <numbers>
1011
#include <utility>
1112

1213
namespace gpl {

src/gpl/src/nesterovBase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ NesterovBaseCommon::NesterovBaseCommon(
11011101

11021102
// gCell ptr init
11031103
nbc_gcells_.reserve(gCellStor_.size());
1104-
for (auto & gCell : gCellStor_) {
1104+
for (auto& gCell : gCellStor_) {
11051105
if (!gCell.isInstance()) {
11061106
continue;
11071107
}
@@ -1556,7 +1556,7 @@ void NesterovBaseCommon::fixPointers()
15561556
gCellMap_.clear();
15571557
db_inst_to_nbc_index_map_.clear();
15581558
nbc_gcells_.reserve(gCellStor_.size());
1559-
for (auto & gCell : gCellStor_) {
1559+
for (auto& gCell : gCellStor_) {
15601560
if (!gCell.isInstance()) {
15611561
continue;
15621562
}

src/odb/include/odb/geom.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <cstdint>
1111
#include <cstdio>
1212
#include <iosfwd>
13+
#include <numbers>
1314
#include <tuple>
1415
#include <vector>
1516

0 commit comments

Comments
 (0)