mirror of
https://github.com/halpz/re3
synced 2024-11-16 07:47:44 +01:00
Add basic clang format file
This commit is contained in:
parent
306aba8b0c
commit
b1efa51355
1 changed files with 28 additions and 0 deletions
28
.clang-format
Normal file
28
.clang-format
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
AllowShortBlocksOnASingleLine: 'true'
|
||||
AllowShortCaseLabelsOnASingleLine: 'true'
|
||||
AllowShortIfStatementsOnASingleLine: 'true'
|
||||
AllowShortLoopsOnASingleLine: 'true'
|
||||
AlwaysBreakAfterReturnType: TopLevel
|
||||
AccessModifierOffset: -8
|
||||
BreakBeforeBraces: Linux
|
||||
ColumnLimit: 160
|
||||
IndentCaseLabels: 'false'
|
||||
IndentWidth: '8'
|
||||
Language: Cpp
|
||||
PointerAlignment: Right
|
||||
SpaceAfterCStyleCast: 'false'
|
||||
SpaceBeforeAssignmentOperators: 'true'
|
||||
SpaceBeforeCtorInitializerColon: 'true'
|
||||
SpaceBeforeInheritanceColon: 'true'
|
||||
SpaceBeforeParens: Never
|
||||
SpaceInEmptyParentheses: 'false'
|
||||
SpacesInAngles: 'false'
|
||||
SpacesInCStyleCastParentheses: 'false'
|
||||
SpacesInContainerLiterals: 'false'
|
||||
SpacesInParentheses: 'false'
|
||||
SpacesInSquareBrackets: 'false'
|
||||
TabWidth: '8'
|
||||
UseTab: ForIndentation
|
||||
|
||||
...
|
Loading…
Reference in a new issue