Skip to content

Conversation

@hzeller
Copy link
Contributor

@hzeller hzeller commented Dec 23, 2024

The std::ifstream is used, but necessary header was missing. Also <cstring> was missing for the strcmp().
While at it, remove superfluous headers.

Also: simplify a boolean return (there was a else after return issue, and the whole expression could be written more concise and readable anyway).

If there is a single statement in a block in a new line, add the necessary curly braces.

The std::ifstream is used, but necessary header was missing.
Also `<cstring>` was missing for the strcmp().
While at it, remove superfluous headers.

Also: simplify a boolean return (there was a else after return
issue, and the whole expression could be written more concise and
readable anyway).

If there is a single statement in a block in a new line, add the
necessary curly braces.

Signed-off-by: Henner Zeller <[email protected]>
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty
Copy link
Member

I wouldn't spend any time on mpl as mpl2 will replace it. We are just working through some issues before #6047

@maliberty maliberty enabled auto-merge December 23, 2024 19:03
@hzeller
Copy link
Contributor Author

hzeller commented Dec 23, 2024

thanks. I was mostly looking at clang-diagnostic-errors which indicated that clang-tidy was very confused, and this was the first I encountered :) Will ignore mpl/ going forward.

@maliberty maliberty merged commit f9640a1 into The-OpenROAD-Project:master Dec 23, 2024
11 checks passed
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.

2 participants