...
This commit is contained in:
18
.clang-format
Normal file
18
.clang-format
Normal file
@@ -0,0 +1,18 @@
|
||||
IndentWidth: 4
|
||||
ColumnLimit: 120
|
||||
|
||||
# Pointer formatting
|
||||
DerivePointerAlignment: false
|
||||
PointerAlignment: Left
|
||||
|
||||
# Function formatting
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
|
||||
# Control how short statements are placed
|
||||
AllowShortBlocksOnASingleLine: Never
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
|
||||
SeparateDefinitionBlocks: Always
|
||||
|
||||
BreakBeforeBraces: Allman
|
||||
Reference in New Issue
Block a user