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

Remove redundant casts, use make_uique, use 'using' #4011

Merged
merged 11 commits into from
Nov 10, 2024

Conversation

hzeller
Copy link
Collaborator

@hzeller hzeller commented Nov 9, 2024

Essentially an auto-repair by clang-tidy
.github/bin/run-clang-tidy-cached.cc --checks="-*,readability-redundant-casting" --fix

Similar: modernize-use-using, modernize-use-nullptr, modernize-make-unique

Essentially an auto-repair by clang-tidy
.github/bin/run-clang-tidy-cached.cc --checks="-*,readability-redundant-casting" --fix
@hzeller hzeller force-pushed the feature-20241109-redundant-casts branch from a2d2a6f to ad50df2 Compare November 9, 2024 18:34
@hzeller hzeller changed the title Remove redundant casts. Remove redundant casts, use make_uique, use 'using' Nov 9, 2024
Also update the clang-tidy scripts to include the new findings so
that we don't backslide.
@hzeller hzeller force-pushed the feature-20241109-redundant-casts branch from 8587f4c to 5577eae Compare November 9, 2024 20:34
Instead of = default, this should probably be doing something,
but apparently that had been disabled at some point.
@hzeller hzeller force-pushed the feature-20241109-redundant-casts branch 9 times, most recently from 6fe1516 to e28fcc8 Compare November 9, 2024 23:41
This way, only changed files have to be re-processed.
@hzeller hzeller force-pushed the feature-20241109-redundant-casts branch from e28fcc8 to 9fbf9ff Compare November 9, 2024 23:56
@hzeller hzeller merged commit c5656f5 into chipsalliance:master Nov 10, 2024
55 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.

1 participant