-
Notifications
You must be signed in to change notification settings - Fork 53
clang-format #213
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
base: development
Are you sure you want to change the base?
clang-format #213
Conversation
4cb2034 to
a8855a4
Compare
a8855a4 to
b817eff
Compare
|
On projects using GNU make, it's commonplace to add a |
b817eff to
2c105e0
Compare
|
Pushed a change to remove spaces before braces (which we clearly don't want) |
|
Please resolve merge conflicts |
3561344 to
3144455
Compare
|
This pull request has been marked as stale due to 60 days of inactivity. |
Formatting tools help maintain style consistency across the codebase. Add a config for the de-facto standard formatter, clang-format. Loosely based on the kernel code style Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Loosely based on qualcomm#136 Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
3144455 to
fbe72bd
Compare
|
I updated a couple more bits around line wrapping and spaces around conditionals to better match the Linux style. Please take a look at the result (last commit) and check if you see anything obviously out of style |
fbe72bd to
8099128
Compare
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
8099128 to
ae6cfc2
Compare
|
Forcepushed with missing DCO fixed |
Loosely based on & supersedes #136
The config file generally resembles the code style one would expect in the kernel source tree
The last commit is a result of manually running the command that the build workflow executes and can be verified independently, the clang-format version I ran is precisely
Ubuntu clang-format version 20.1.8 (++20250804090239+87f0227cb601-1~exp1~20250804210352.139)