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

[3.x] Style: Enforce braces around if blocks and loops #48475

Merged
merged 1 commit into from
May 5, 2021

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented May 5, 2021

Continuation of #48447 and #48454 to modernize the 3.x branch and fit the style used in master.

Note: This was done with clang-tidy (+ fixing its often bogus changes manually) and therefore it only affects the code which I was compiling (p=x11 tools=yes target=debug). So there's still missing braces in other platform-specific code and within some preprocessor defines which were not set in my local build. If anyone wants to fix what was missed here, feel free to, but having a perfectly harmonious style is not a priority for 3.x, so such effort is best spent on master.

@akien-mga akien-mga added this to the 3.4 milestone May 5, 2021
@akien-mga akien-mga requested review from a team as code owners May 5, 2021 09:32
@akien-mga akien-mga merged commit 410b8e8 into godotengine:3.x May 5, 2021
@akien-mga akien-mga deleted the 3.x-style-changes branch May 5, 2021 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant