Skip to content

Commit b3c8519

Browse files
committed
reformat using clang
1 parent 744f56b commit b3c8519

Some content is hidden

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

59 files changed

+8008
-9718
lines changed

.clang-format

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: Google
4+
AccessModifierOffset: -1
5+
ConstructorInitializerIndentWidth: 4
6+
AlignEscapedNewlinesLeft: true
7+
AlignTrailingComments: true
8+
AllowAllParametersOfDeclarationOnNextLine: true
9+
AllowShortIfStatementsOnASingleLine: true
10+
AllowShortLoopsOnASingleLine: true
11+
AllowShortFunctionsOnASingleLine: true
12+
AlwaysBreakTemplateDeclarations: true
13+
AlwaysBreakBeforeMultilineStrings: true
14+
BreakBeforeBinaryOperators: false
15+
BreakBeforeTernaryOperators: true
16+
BreakConstructorInitializersBeforeComma: false
17+
BinPackParameters: true
18+
ColumnLimit: 80
19+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
20+
DerivePointerBinding: true
21+
ExperimentalAutoDetectBinPacking: false
22+
IndentCaseLabels: true
23+
MaxEmptyLinesToKeep: 1
24+
NamespaceIndentation: None
25+
ObjCSpaceAfterProperty: false
26+
ObjCSpaceBeforeProtocolList: false
27+
PenaltyBreakBeforeFirstCallParameter: 1
28+
PenaltyBreakComment: 300
29+
PenaltyBreakString: 1000
30+
PenaltyBreakFirstLessLess: 120
31+
PenaltyExcessCharacter: 1000000
32+
PenaltyReturnTypeOnItsOwnLine: 200
33+
PointerBindsToType: true
34+
SpacesBeforeTrailingComments: 2
35+
Cpp11BracedListStyle: true
36+
Standard: Auto
37+
IndentWidth: 2
38+
TabWidth: 8
39+
UseTab: Never
40+
BreakBeforeBraces: Attach
41+
IndentFunctionDeclarationAfterType: true
42+
SpacesInParentheses: false
43+
SpacesInAngles: false
44+
SpaceInEmptyParentheses: false
45+
SpacesInCStyleCastParentheses: false
46+
SpacesInContainerLiterals: true
47+
SpaceBeforeAssignmentOperators: true
48+
ContinuationIndentWidth: 4
49+
CommentPragmas: '^ IWYU pragma:'
50+
SpaceBeforeParens: ControlStatements
51+
...
52+

0 commit comments

Comments
 (0)