Skip to content

Commit 86c6c15

Browse files
committed
restore .clang-format
1 parent 1f47f47 commit 86c6c15

File tree

1 file changed

+89
-2
lines changed

1 file changed

+89
-2
lines changed

.clang-format

Lines changed: 89 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,92 @@
11
---
2+
AccessModifierOffset: -1
3+
AlignAfterOpenBracket: AlwaysBreak
4+
AlignConsecutiveAssignments: false
5+
AlignConsecutiveDeclarations: false
6+
AlignEscapedNewlinesLeft: true
7+
AlignOperands: false
8+
AlignTrailingComments: false
9+
AllowAllParametersOfDeclarationOnNextLine: false
10+
AllowShortBlocksOnASingleLine: false
11+
AllowShortCaseLabelsOnASingleLine: false
12+
AllowShortFunctionsOnASingleLine: Empty
13+
AllowShortIfStatementsOnASingleLine: false
14+
AllowShortLoopsOnASingleLine: false
15+
AlwaysBreakAfterReturnType: None
16+
AlwaysBreakBeforeMultilineStrings: true
17+
AlwaysBreakTemplateDeclarations: true
18+
BinPackArguments: false
19+
BinPackParameters: false
20+
BraceWrapping:
21+
AfterClass: false
22+
AfterControlStatement: false
23+
AfterEnum: false
24+
AfterFunction: false
25+
AfterNamespace: false
26+
AfterObjCDeclaration: false
27+
AfterStruct: false
28+
AfterUnion: false
29+
BeforeCatch: false
30+
BeforeElse: false
31+
IndentBraces: false
32+
BreakBeforeBinaryOperators: None
33+
BreakBeforeBraces: Attach
34+
BreakBeforeTernaryOperators: true
35+
BreakConstructorInitializersBeforeComma: false
36+
BreakAfterJavaFieldAnnotations: false
37+
BreakStringLiterals: false
38+
ColumnLimit: 80
39+
CommentPragmas: '^ IWYU pragma:'
40+
#CompactNamespaces: false
41+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
42+
ConstructorInitializerIndentWidth: 4
43+
ContinuationIndentWidth: 4
44+
Cpp11BracedListStyle: true
45+
DerivePointerAlignment: false
46+
DisableFormat: false
47+
ForEachMacros: [ FOR_EACH_RANGE, FOR_EACH, ]
48+
IncludeCategories:
49+
- Regex: '^<.*\.h(pp)?>'
50+
Priority: 1
51+
- Regex: '^<.*'
52+
Priority: 2
53+
- Regex: '.*'
54+
Priority: 3
55+
IndentCaseLabels: true
56+
IndentWidth: 2
57+
IndentWrappedFunctionNames: false
58+
KeepEmptyLinesAtTheStartOfBlocks: false
59+
MacroBlockBegin: ''
60+
MacroBlockEnd: ''
61+
MaxEmptyLinesToKeep: 1
62+
NamespaceIndentation: None
63+
PenaltyBreakBeforeFirstCallParameter: 1
64+
PenaltyBreakComment: 300
65+
PenaltyBreakFirstLessLess: 120
66+
PenaltyBreakString: 1000
67+
PenaltyExcessCharacter: 1000000
68+
PenaltyReturnTypeOnItsOwnLine: 2000000
69+
PointerAlignment: Left
70+
ReflowComments: true
71+
SortIncludes: true
72+
SpaceAfterCStyleCast: false
73+
SpaceBeforeAssignmentOperators: true
74+
SpaceBeforeParens: ControlStatements
75+
SpaceInEmptyParentheses: false
76+
SpacesBeforeTrailingComments: 1
77+
SpacesInAngles: false
78+
SpacesInContainerLiterals: true
79+
SpacesInCStyleCastParentheses: false
80+
SpacesInParentheses: false
81+
SpacesInSquareBrackets: false
82+
Standard: Cpp11
83+
TabWidth: 8
84+
UseTab: Never
85+
---
286
Language: ObjC
3-
DisableFormat: true
4-
SortIncludes: false
87+
ColumnLimit: 120
88+
AlignAfterOpenBracket: Align
89+
ObjCBlockIndentWidth: 2
90+
ObjCSpaceAfterProperty: false
91+
ObjCSpaceBeforeProtocolList: false
592
...

0 commit comments

Comments
 (0)