| 1 |
# https://releases.llvm.org/7.0.0/tools/clang/docs/ClangFormatStyleOptions.html |
| 2 |
|
| 3 |
--- |
| 4 |
Language: Cpp |
| 5 |
|
| 6 |
BasedOnStyle: WebKit |
| 7 |
|
| 8 |
AlignAfterOpenBracket: Align |
| 9 |
AlignOperands: true |
| 10 |
AlignTrailingComments: true |
| 11 |
AllowAllParametersOfDeclarationOnNextLine: true |
| 12 |
AllowShortBlocksOnASingleLine: false |
| 13 |
AllowShortCaseLabelsOnASingleLine: true |
| 14 |
AllowShortFunctionsOnASingleLine: All |
| 15 |
AllowShortIfStatementsOnASingleLine: true |
| 16 |
AllowShortLoopsOnASingleLine: false |
| 17 |
AlwaysBreakTemplateDeclarations: true |
| 18 |
BinPackArguments: false |
| 19 |
BinPackParameters: false |
| 20 |
BreakBeforeBinaryOperators: None |
| 21 |
BreakBeforeBraces: Allman |
| 22 |
BreakConstructorInitializersBeforeComma: true |
| 23 |
ColumnLimit: 120 |
| 24 |
ConstructorInitializerAllOnOneLineOrOnePerLine: true |
| 25 |
Cpp11BracedListStyle: true |
| 26 |
FixNamespaceComments: true |
| 27 |
IncludeBlocks: Regroup |
| 28 |
IncludeCategories: |
| 29 |
- Regex: '^["<](stdafx|pch)\.h[">]$' |
| 30 |
Priority: -1 |
| 31 |
- Regex: '^<Windows\.h>$' |
| 32 |
Priority: 3 |
| 33 |
- Regex: '^<(WinIoCtl|winhttp|Shellapi)\.h>$' |
| 34 |
Priority: 4 |
| 35 |
- Regex: '.*' |
| 36 |
Priority: 2 |
| 37 |
IndentCaseLabels: true |
| 38 |
IndentWidth: 4 |
| 39 |
KeepEmptyLinesAtTheStartOfBlocks: false |
| 40 |
MaxEmptyLinesToKeep: 2 |
| 41 |
NamespaceIndentation: None |
| 42 |
PenaltyReturnTypeOnItsOwnLine: 1000 |
| 43 |
PointerAlignment: Left |
| 44 |
SpaceAfterTemplateKeyword: false |
| 45 |
Standard: Cpp11 |
| 46 |
UseTab: Never |