Skip to content

Insert Braces around single line ifs.#1077

Merged
dj2 merged 1 commit intogoogle:mainfrom
dj2:brackets
Jan 9, 2025
Merged

Insert Braces around single line ifs.#1077
dj2 merged 1 commit intogoogle:mainfrom
dj2:brackets

Conversation

@dj2
Copy link
Collaborator

@dj2 dj2 commented Jan 9, 2025

Add the InsertBraces: true flag for clang-format and re-run the formatter. This forces brackets around all of the single line entries which did not previously have them.

Add the `InsertBraces: true` flag for clang-format and re-run the
formatter. This forces brackets around all of the single line entries
which did not previously have them.
@dj2 dj2 added the refactoring Cleanup work label Jan 9, 2025
@dj2 dj2 requested a review from dneto0 January 9, 2025 04:01
@dj2 dj2 self-assigned this Jan 9, 2025
@dj2 dj2 merged commit a3fa7cc into google:main Jan 9, 2025
1 check passed
@dj2 dj2 deleted the brackets branch January 9, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Cleanup work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants