Skip to content

Commit

Permalink
drt: clang-tidy suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: osamahammad21 <[email protected]>
  • Loading branch information
osamahammad21 committed Apr 16, 2024
1 parent 9f033ae commit ce3e573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/drt/src/db/tech/frConstraint.h
Original file line number Diff line number Diff line change
Expand Up @@ -2240,12 +2240,11 @@ class frLef58EnclosureConstraint : public frConstraint
if (db_rule_->getType() == odb::dbTechLayerCutEnclosureRule::ENDSIDE) {
return endOverhang >= db_rule_->getFirstOverhang()
&& sideOverhang >= db_rule_->getSecondOverhang();
} else {
return (endOverhang >= db_rule_->getFirstOverhang()
&& sideOverhang >= db_rule_->getSecondOverhang())
|| (endOverhang >= db_rule_->getSecondOverhang()
&& sideOverhang >= db_rule_->getFirstOverhang());
}
return (endOverhang >= db_rule_->getFirstOverhang()
&& sideOverhang >= db_rule_->getSecondOverhang())
|| (endOverhang >= db_rule_->getSecondOverhang()
&& sideOverhang >= db_rule_->getFirstOverhang());
}
frCoord getWidth() const { return db_rule_->getMinWidth(); }
void report(utl::Logger* logger) const override
Expand Down
1 change: 0 additions & 1 deletion src/drt/src/gc/FlexGC_cut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,6 @@ void FlexGCWorker::Impl::checkLef58Enclosure_main(gcRect* viaRect,
viaRect->isFixed()));
marker->addSrc(net->getOwner());
addMarker(std::move(marker));
return;
}
void FlexGCWorker::Impl::checkLef58Enclosure_main(gcRect* rect)
{
Expand Down

0 comments on commit ce3e573

Please sign in to comment.