mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 06:05:40 +12:00
Add .clang-format
Use the command `clang-format -i tests/**/*.c src/**/*.cpp include/**/*.hpp` to process all of the project's files. Using the one from [pcsx-redux](https://github.com/grumpycoders/pcsx-redux/blob/main/src/.clang-format) as a basis and then made additional edits to be the _least_ disruptive to the pre-existing formatting patterns.
This commit is contained in:
parent
2e4ae1328a
commit
dd0831361d
1 changed files with 14 additions and 0 deletions
14
.clang-format
Normal file
14
.clang-format
Normal file
|
@ -0,0 +1,14 @@
|
|||
BasedOnStyle: Google
|
||||
IndentWidth: 4
|
||||
ColumnLimit: 120
|
||||
AccessModifierOffset: -2
|
||||
TabWidth: 4
|
||||
NamespaceIndentation: All
|
||||
UseTab: ForContinuationAndIndentation
|
||||
AllowShortEnumsOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
Cpp11BracedListStyle: true
|
||||
PackConstructorInitializers: BinPack
|
||||
AlignAfterOpenBracket: BlockIndent
|
Loading…
Add table
Reference in a new issue