Skip to content

Commit d0f97f6

Browse files
committed
clang-format
Signed-off-by: João Mai <[email protected]>
1 parent 89e81a2 commit d0f97f6

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/mpl/src/graphics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ void Graphics::drawObjects(gui::Painter& painter)
553553
template <typename T>
554554
bool Graphics::isSkippable(const T& macro)
555555
{
556-
Cluster* cluster = macro.getCluster();
557-
return !cluster || cluster->isClusterOfUnplacedIOPins();
556+
Cluster* cluster = macro.getCluster();
557+
return !cluster || cluster->isClusterOfUnplacedIOPins();
558558
}
559559

560560
// Draw guidance regions for macros.

src/mpl/src/hier_rtlmp.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,9 +1804,8 @@ void HierRTLMP::eliminateOverlaps(std::vector<Rect>& blockages) const
18041804
// We model blockages as macro clusters (SoftMacros) constrained to fences.
18051805
// The rationale of this model comes from the fact that the area occupied
18061806
// by blockages should be empty, i.e., with neither macros or std cells.
1807-
void HierRTLMP::createSoftMacrosForBlockages(
1808-
const std::vector<Rect>& blockages,
1809-
std::vector<SoftMacro>& macros)
1807+
void HierRTLMP::createSoftMacrosForBlockages(const std::vector<Rect>& blockages,
1808+
std::vector<SoftMacro>& macros)
18101809
{
18111810
for (int id = 0; id < blockages.size(); id++) {
18121811
std::string name = fmt::format("blockage_{}", id);

src/mpl/src/hier_rtlmp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class HierRTLMP
181181
const Rect& outline) const;
182182
void eliminateOverlaps(std::vector<Rect>& blockages) const;
183183
void createSoftMacrosForBlockages(const std::vector<Rect>& blockages,
184-
std::vector<SoftMacro>& macros);
184+
std::vector<SoftMacro>& macros);
185185
void createFixedTerminals(Cluster* parent,
186186
std::map<std::string, int>& soft_macro_id_map,
187187
std::vector<SoftMacro>& soft_macros);

0 commit comments

Comments
 (0)