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

refactor if-statements for better readability #1848

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Conversation

SimonBaeumer
Copy link
Member

Description

Added brackets to ifs.

@SimonBaeumer SimonBaeumer requested a review from a team as a code owner September 17, 2024 13:30
@SimonBaeumer SimonBaeumer changed the title refactor if-statements for better readability C refactor if-statements for better readability Sep 17, 2024
Copy link
Collaborator

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

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

Not something for this PR, but we could enable the InsertBraces style check in our .clang-format file and apply it everywhere that matters

https://clang.llvm.org/docs/ClangFormatStyleOptions.html#insertbraces

@SimonBaeumer
Copy link
Member Author

@Molter73 Created a PR to enable expanding if-brackets, #1849

@SimonBaeumer SimonBaeumer merged commit 6ade60b into master Sep 17, 2024
49 of 51 checks passed
@SimonBaeumer SimonBaeumer deleted the sb/big-refactoring branch September 17, 2024 14:41
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.

3 participants