-
-
Notifications
You must be signed in to change notification settings - Fork 473
Update and enforce formatting for C/C++ (#1474) #1496
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
Conversation
76ac8a8
to
c604d26
Compare
c604d26
to
305b51f
Compare
305b51f
to
7a4db46
Compare
7a4db46
to
bc1bfa3
Compare
143d1ca
to
118d39d
Compare
bc1bfa3
to
33d492d
Compare
Rebased and update to LLVM 18 |
5b2ec76
to
6fffce9
Compare
33d492d
to
a94e78c
Compare
e89fcc8
to
f6fd5cc
Compare
c3ffa4d
to
09b0b99
Compare
eb26ab5
to
a3da552
Compare
a3da552
to
12704e2
Compare
Rebased and updated to LLVM 20 |
I need to check that .clang-format corresponds to our code style, which currently has some relaxed requirements:
As for formatting style, here are some rules:
For third-party dependencies, we should strictly follow their code style. |
Much thanks for this gem! |
Every new commit or pull request will now be checked with
clang-format
.Note that only violations in new code will be reported and any old code will stay just as it is.
Here is an example PR to showcase how this would look like.