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

[DO NOT MERGE] clang-tidy ui.cpp #78616

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

moxian
Copy link
Contributor

@moxian moxian commented Dec 17, 2024

DO NOT MERGE

Summary

None

Purpose of change

In #78398 I introduced some clang-tidy errors since I'm still a bit rusty with my C++. This pr fixes them (and some preexisting ones).
Also fixes some unrelated test problems, because github complains about those.

Additional context

For some reason my local clang-tidy shows more errors than github-actions does. I'm not sure why yet.

[DO NOT MERGE] yet. I want to double-check that my fixes satisfy github. Normally I would open this PR as draft and check that way, but I have recently learned that moving a PR from draft to not-draft restarts all the checks, and that is counterproductive. Hence the tag.
I'll remove it as soon as.

@github-actions github-actions bot added Info / User Interface Game - player communication, menus, etc. [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions labels Dec 17, 2024
@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Dec 17, 2024
@github-actions github-actions bot added the Code: Tests Measurement, self-control, statistics, balancing. label Dec 17, 2024
@moxian moxian force-pushed the tidy branch 3 times, most recently from e88f729 to 2845dcc Compare December 18, 2024 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. Info / User Interface Game - player communication, menus, etc. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant