Skip to content

Commit 6afc7ea

Browse files
committed
Add lowRISC standard clang-format file
We use the Google C++ coding style (https://google.github.io/styleguide/cppguide.html) with some clarifications to make it more applicable for C, inspired by BoringSSL (https://boringssl.googlesource.com/boringssl/+/HEAD/STYLE.md).
1 parent 85ae06d commit 6afc7ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.clang-format

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
BasedOnStyle: Google
2+
AllowShortIfStatementsOnASingleLine: false
3+
AllowShortLoopsOnASingleLine: false
4+
DerivePointerAlignment: false
5+
PointerAlignment: Right

0 commit comments

Comments
 (0)