mirror of
https://github.com/lowRISC/ibex.git
synced 2025-06-27 17:00:41 -04:00
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).
This commit is contained in:
parent
85ae06d054
commit
6afc7eae16
1 changed files with 5 additions and 0 deletions
5
.clang-format
Normal file
5
.clang-format
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
BasedOnStyle: Google
|
||||||
|
AllowShortIfStatementsOnASingleLine: false
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
DerivePointerAlignment: false
|
||||||
|
PointerAlignment: Right
|
Loading…
Add table
Add a link
Reference in a new issue