Skip to content

Bodies of if and loop statements should be inside braces#10

Merged
kuba-moo merged 2 commits intolinux-netdev:mainfrom
sheldnwu:fix_miss_braces
Aug 25, 2025
Merged

Bodies of if and loop statements should be inside braces#10
kuba-moo merged 2 commits intolinux-netdev:mainfrom
sheldnwu:fix_miss_braces

Conversation

@sheldnwu
Copy link
Copy Markdown
Contributor

Summary:
readability-braces-around-statements requires bodies of if and loop statements should be inside braces current generated code doesn't follow this requirement for single line blocks

https://clang.llvm.org/extra/clang-tidy/checks/readability/braces-around-statements.html

Test Plan:
regenerate code to make sure missing braces are added

Loading
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.

2 participants