Skip to content

Commit a24ae47

Browse files
authored
Merge pull request microsoft#826 from BillyONeal/dev/bion/clang_format
Apply clang-format to the ASIO backend
2 parents 6333225 + fcbbfa2 commit a24ae47

File tree

3 files changed

+591
-502
lines changed

3 files changed

+591
-502
lines changed

.clang-format

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
BasedOnStyle: WebKit
2+
Language: Cpp
3+
Standard: Cpp11
4+
5+
UseTab: Never
6+
IndentWidth: 4
7+
ColumnLimit: 120
8+
PointerAlignment: Left
9+
10+
BreakBeforeBraces: Allman
11+
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: true
14+
AllowShortFunctionsOnASingleLine: All
15+
AllowShortIfStatementsOnASingleLine: true
16+
AllowShortLoopsOnASingleLine: false
17+
AlwaysBreakTemplateDeclarations: true
18+
AlignAfterOpenBracket: true
19+
AlignOperands: true
20+
AlignTrailingComments: true
21+
BinPackArguments: false
22+
BinPackParameters: false
23+
BreakBeforeBinaryOperators: None
24+
BreakConstructorInitializersBeforeComma: true
25+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
26+
Cpp11BracedListStyle: true
27+
IndentCaseLabels: true
28+
KeepEmptyLinesAtTheStartOfBlocks: false
29+
NamespaceIndentation: None
30+
PenaltyReturnTypeOnItsOwnLine: 1000
31+
SpaceAfterTemplateKeyword: false

0 commit comments

Comments
 (0)