File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1362,9 +1362,11 @@ std::vector<std::set<const sta::Pin*>> TimingControlsDialog::getThruPins() const
13621362 return pins;
13631363}
13641364
1365- const sta::ClockSet* TimingControlsDialog::getClocks (bool return_null_if_all )
1365+ const sta::ClockSet* TimingControlsDialog::getClocks ()
13661366{
1367- if (return_null_if_all && clock_box_->isAllSelected ()) {
1367+ if (clock_box_->isAllSelected ()) {
1368+ // returns nullptr if all clocks are selected,
1369+ // so the STA doesn't need to filter by clock
13681370 return nullptr ;
13691371 }
13701372
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ class TimingControlsDialog : public QDialog
410410 std::set<const sta::Pin*> getFromPins () const { return from_->getPins (); }
411411 std::vector<std::set<const sta::Pin*>> getThruPins () const ;
412412 std::set<const sta::Pin*> getToPins () const { return to_->getPins (); }
413- const sta::ClockSet* getClocks (bool return_null_if_all = true );
413+ const sta::ClockSet* getClocks ();
414414
415415 const sta::Pin* convertTerm (Gui::Term term) const ;
416416
You can’t perform that action at this time.
0 commit comments