cpprestsdk/.clang-format

47 строки
1.3 KiB
Plaintext
Исходник Постоянная ссылка Обычный вид История

2018-12-21 04:02:57 +03:00
# https://releases.llvm.org/7.0.0/tools/clang/docs/ClangFormatStyleOptions.html
2018-12-21 04:02:57 +03:00
---
Language: Cpp
2018-12-21 04:02:57 +03:00
BasedOnStyle: WebKit
2018-12-21 04:02:57 +03:00
AlignAfterOpenBracket: Align
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
2018-12-21 04:02:57 +03:00
BreakBeforeBraces: Allman
BreakConstructorInitializersBeforeComma: true
2018-12-21 04:02:57 +03:00
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: true
Cpp11BracedListStyle: true
2018-12-21 04:02:57 +03:00
FixNamespaceComments: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^["<](stdafx|pch)\.h[">]$'
Priority: -1
- Regex: '^<Windows\.h>$'
Priority: 3
- Regex: '^<(WinIoCtl|winhttp|Shellapi)\.h>$'
Priority: 4
- Regex: '.*'
Priority: 2
IndentCaseLabels: true
2018-12-21 04:02:57 +03:00
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
2018-12-21 04:02:57 +03:00
MaxEmptyLinesToKeep: 2
2018-08-09 23:53:52 +03:00
NamespaceIndentation: None
PenaltyReturnTypeOnItsOwnLine: 1000
2018-12-21 04:02:57 +03:00
PointerAlignment: Left
2018-08-09 23:53:52 +03:00
SpaceAfterTemplateKeyword: false
2018-12-21 04:02:57 +03:00
Standard: Cpp11
UseTab: Never