mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-19 11:44:58 -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
Reference in a new issue