Skip to content

Commit 731a7a8

Browse files
committed
Merge pull request #438 from deanberris/0.11-devel-clangformat
clang-format 0.11-devel
2 parents b19419c + 5a75c14 commit 731a7a8

File tree

290 files changed

+18673
-19517
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+18673
-19517
lines changed

.clang-format

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
BasedOnStyle: Google
2+
AccessModifierOffset: -1
3+
ConstructorInitializerIndentWidth: 4
4+
AlignEscapedNewlinesLeft: true
5+
AlignTrailingComments: true
6+
AllowAllParametersOfDeclarationOnNextLine: true
7+
AllowShortIfStatementsOnASingleLine: true
8+
AllowShortLoopsOnASingleLine: true
9+
AlwaysBreakTemplateDeclarations: true
10+
AlwaysBreakBeforeMultilineStrings: true
11+
BreakBeforeBinaryOperators: false
12+
BreakConstructorInitializersBeforeComma: false
13+
BinPackParameters: true
14+
ColumnLimit: 80
15+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
16+
DerivePointerBinding: true
17+
ExperimentalAutoDetectBinPacking: false
18+
IndentCaseLabels: true
19+
MaxEmptyLinesToKeep: 1
20+
ObjCSpaceBeforeProtocolList: false
21+
PenaltyBreakComment: 60
22+
PenaltyBreakString: 1000
23+
PenaltyBreakFirstLessLess: 120
24+
PenaltyExcessCharacter: 1000000
25+
PenaltyReturnTypeOnItsOwnLine: 200
26+
PointerBindsToType: true
27+
SpacesBeforeTrailingComments: 2
28+
Cpp11BracedListStyle: true
29+
Standard: Auto
30+
IndentWidth: 2
31+
TabWidth: 4
32+
UseTab: false
33+
BreakBeforeBraces: Attach
34+
IndentFunctionDeclarationAfterType: true
35+
SpacesInParentheses: false
36+
SpaceInEmptyParentheses: false
37+
SpacesInCStyleCastParentheses: false
38+
SpaceAfterControlStatementKeyword: true

0 commit comments

Comments
 (0)