Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ppl: use constraints, mirrored pins and pin groups stored in odb #6824

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

eder-matheus
Copy link
Contributor

No description provided.

@eder-matheus eder-matheus requested a review from maliberty March 8, 2025 00:14
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

getBlock()->dbuToMicrons(interval.getEnd()),
getEdgeString(interval.getEdge()));
constraints_.push_back(
Constraint(std::move(pins), Direction::invalid, interval));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: std::move of the const variable 'pins' has no effect; remove std::move() or make the variable non-const [performance-move-const-arg]

Suggested change
Constraint(std::move(pins), Direction::invalid, interval));
Constraint(pins, Direction::invalid, interval));

getBlock()->dbuToMicrons(interval.getEnd()),
getEdgeString(interval.getEdge()));
constraints_.push_back(
Constraint(std::move(pins), Direction::invalid, interval));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: use emplace_back instead of push_back [modernize-use-emplace]

Suggested change
Constraint(std::move(pins), Direction::invalid, interval));
constraints_.emplace_back(std::move(pins), Direction::invalid, interval);

@eder-matheus eder-matheus marked this pull request as draft March 9, 2025 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant