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

Clang-Format 14 #1321

Merged
merged 4 commits into from
Jul 27, 2023
Merged

Clang-Format 14 #1321

merged 4 commits into from
Jul 27, 2023

Conversation

hensldm
Copy link
Collaborator

@hensldm hensldm commented Jul 8, 2023

Companion PR to zeldaret/oot#1517

Note I added some (void*) casts to the overlay overlayEntry computation. This is more likely how they will end up being anyways from #1266 . The format in bigslime is weird, but seems worth it to upgrade anyways.

@AngheloAlf
Copy link
Collaborator

Adding the held tag until we we have a consensus about the jump to clang-format-14 and all the Jenkins agents are updated too

@hensldm
Copy link
Collaborator Author

hensldm commented Jul 11, 2023

Fwiw, I believe all agents have been updated to have both clang-format-11 and clang-format-14 for the time being.

Copy link
Collaborator

@AngheloAlf AngheloAlf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with moving to clang-format-14

@hensldm
Copy link
Collaborator Author

hensldm commented Jul 17, 2023

Just want to mention, I had forgotten to update the dockerfile as well as other documentation so went ahead and did that.


You can install them with the following commands:

```bash
brew update
brew install coreutils make python3 libpng bash clang-format@11
brew install coreutils make python3 libpng bash clang-format@14
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed a problem, the homebrew page for clang-format 14 doesn't seem to exist
https://formulae.brew.sh/formula/clang-format@14

As a reference this is version 11: https://formulae.brew.sh/formula/clang-format@11

@AngheloAlf AngheloAlf added Merge-ready All reviewers satisfied, just waiting for CI and removed Needs-second-approval Second approval Needs-first-approval First approval labels Jul 18, 2023
@AngheloAlf AngheloAlf removed the held label Jul 27, 2023
@AngheloAlf AngheloAlf merged commit eb6b837 into zeldaret:master Jul 27, 2023
@hensldm hensldm deleted the format-14 branch August 1, 2023 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merge-ready All reviewers satisfied, just waiting for CI Tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants