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

Fix tidy warnings #3310

Merged
merged 14 commits into from
Sep 30, 2023
Merged

Fix tidy warnings #3310

merged 14 commits into from
Sep 30, 2023

Conversation

olanti-p
Copy link
Contributor

@olanti-p olanti-p commented Sep 29, 2023

Summary

SUMMARY: Build "Fixed clang-tidy warnings"

Purpose of change

Closes #2629

Describe the solution

Promote warnings to errors, so tidy does not always report a green check.
Fix resulting warnings, or silence them in some cases.

Testing

Will be done by Github Actions

@github-actions github-actions bot added src changes related to source code. tests changes related to tests labels Sep 29, 2023
@olanti-p olanti-p closed this Sep 29, 2023
@olanti-p olanti-p reopened this Sep 29, 2023
@olanti-p olanti-p marked this pull request as ready for review September 29, 2023 23:41
@olanti-p olanti-p closed this Sep 29, 2023
@olanti-p olanti-p reopened this Sep 29, 2023
@olanti-p olanti-p changed the title [WiP] Fix tidy warnings Fix tidy warnings Sep 29, 2023
@scarf005 scarf005 added this pull request to the merge queue Sep 30, 2023
Merged via the queue into cataclysmbnteam:upload with commit 1fbcf35 Sep 30, 2023
33 of 42 checks passed
olanti-p added a commit to olanti-p/Cataclysm-BN that referenced this pull request Oct 6, 2023
* Fix all warnings that show up for problem matcher

* Promote warnings to errors

* Remove unused statics

* Fix unneeded static usage

* Silence cata-no-long in explosion animation code

* Fix instance of readability-const-return-type

* Fix named constants usage

* Fix more unused statics

* Fix parameter name

* Fix float division

* Fix use after move

* Fix unused static

* Silence point lints in mapgen point math

* Fix named point constant in mapgen
@olanti-p olanti-p deleted the fix-tidy-warnings branch November 16, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code. tests changes related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clang-tidy warnings in CI
2 participants