From 977641d4b6f016c02a3e20fd4cfe3820d58734f4 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 3 Jun 2022 10:00:04 -0700 Subject: [PATCH] format Signed-off-by: James Cherry --- include/sta/DisabledPorts.hh | 10 +++++++--- sdc/DisabledPorts.cc | 9 ++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/include/sta/DisabledPorts.hh b/include/sta/DisabledPorts.hh index a3f59069..c7b2f907 100644 --- a/include/sta/DisabledPorts.hh +++ b/include/sta/DisabledPorts.hh @@ -44,9 +44,13 @@ public: void removeDisabledFrom(LibertyPort *port); void setDisabledTo(LibertyPort *port); void removeDisabledTo(LibertyPort *port); - void setDisabledFromTo(LibertyPort *from, LibertyPort *to); - void removeDisabledFromTo(LibertyPort *from, LibertyPort *to); - bool isDisabled(LibertyPort *from, LibertyPort *to, const TimingRole *role); + void setDisabledFromTo(LibertyPort *from, + LibertyPort *to); + void removeDisabledFromTo(LibertyPort *from, + LibertyPort *to); + bool isDisabled(LibertyPort *from, + LibertyPort *to, + const TimingRole *role); LibertyPortPairSet *fromTo() const { return from_to_; } LibertyPortSet *from() const { return from_; } LibertyPortSet *to() const { return to_; } diff --git a/sdc/DisabledPorts.cc b/sdc/DisabledPorts.cc index b2c39a13..a5fd3bd9 100644 --- a/sdc/DisabledPorts.cc +++ b/sdc/DisabledPorts.cc @@ -86,7 +86,8 @@ DisabledPorts::removeDisabledTo(LibertyPort *port) } void -DisabledPorts::setDisabledFromTo(LibertyPort *from, LibertyPort *to) +DisabledPorts::setDisabledFromTo(LibertyPort *from, + LibertyPort *to) { if (from_to_ == nullptr) from_to_ = new LibertyPortPairSet; @@ -98,7 +99,8 @@ DisabledPorts::setDisabledFromTo(LibertyPort *from, LibertyPort *to) } void -DisabledPorts::removeDisabledFromTo(LibertyPort *from, LibertyPort *to) +DisabledPorts::removeDisabledFromTo(LibertyPort *from, + LibertyPort *to) { if (from_to_) { LibertyPortPair probe(from, to); @@ -111,7 +113,8 @@ DisabledPorts::removeDisabledFromTo(LibertyPort *from, LibertyPort *to) } bool -DisabledPorts::isDisabled(LibertyPort *from, LibertyPort *to, +DisabledPorts::isDisabled(LibertyPort *from, + LibertyPort *to, const TimingRole *role) { LibertyPortPair pair(from, to);