-
Notifications
You must be signed in to change notification settings - Fork 551
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
ant: fix tsan warnings and memory leak #5454
Conversation
Signed-off-by: Eder Monteiro <[email protected]>
Signed-off-by: Eder Monteiro <[email protected]>
There was a problem hiding this 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
@@ -179,6 +179,7 @@ class AntennaChecker | |||
void calculateCAR(GateToLayerToNodeInfo& gate_info); | |||
bool checkRatioViolations(odb::dbTechLayer* layer, | |||
const NodeInfo& node_info, | |||
const float ratio_margin, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'ratio_margin' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
const float ratio_margin, | |
float ratio_margin, |
@@ -199,11 +200,13 @@ | |||
void calculateWirePar(odb::dbTechLayer* tech_layer, NodeInfo& info); | |||
bool checkPAR(odb::dbTechLayer* tech_layer, | |||
const NodeInfo& info, | |||
const float ratio_margin, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'ratio_margin' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
const float ratio_margin, | |
float ratio_margin, |
Signed-off-by: Eder Monteiro <[email protected]>
clang-tidy review says "All clean, LGTM! 👍" |
No description provided.