Add doc/clang-format
This commit is contained in:
parent
6b2761f653
commit
38d0b8bfd3
1 changed files with 19 additions and 0 deletions
19
doc/clang-format
Normal file
19
doc/clang-format
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
Language: Cpp
|
||||
MaxEmptyLinesToKeep: 1
|
||||
SpaceBeforeParens: Always
|
||||
SpaceInEmptyParentheses: false
|
||||
BasedOnStyle: LLVM
|
||||
ContinuationIndentWidth: 8
|
||||
IndentCaseLabels: false
|
||||
IndentFunctionDeclarationAfterType: false
|
||||
IndentWidth: 8
|
||||
UseTab: Always
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
IndentCaseLabels: false
|
||||
ColumnLimit: 78
|
||||
BreakBeforeBraces: Attach
|
||||
BreakBeforeTernaryOperators: false
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
# This requires LLVM > 3.5
|
||||
AllowShortBlocksOnASingleLine: true
|
||||
Loading…
Reference in a new issue