Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit 03b1451

Browse files
committedFeb 3, 2018
Reduce clang-format to minimal size
1 parent 621bb1d commit 03b1451

File tree

1 file changed

+1
-71
lines changed

1 file changed

+1
-71
lines changed
 

‎.clang-format

+1-71
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
11
---
22
Language: Cpp
3-
# BasedOnStyle: Chromium
3+
BasedOnStyle: Chromium
44
AccessModifierOffset: -4
55
AlignAfterOpenBracket: DontAlign
6-
AlignConsecutiveAssignments: false
7-
AlignConsecutiveDeclarations: false
8-
AlignEscapedNewlines: Left
9-
AlignOperands: true
10-
AlignTrailingComments: true
11-
AllowAllParametersOfDeclarationOnNextLine: false
12-
AllowShortBlocksOnASingleLine: false
13-
AllowShortCaseLabelsOnASingleLine: false
14-
AllowShortFunctionsOnASingleLine: Inline
15-
AllowShortIfStatementsOnASingleLine: false
16-
AllowShortLoopsOnASingleLine: false
17-
AlwaysBreakAfterDefinitionReturnType: None
18-
AlwaysBreakAfterReturnType: None
19-
AlwaysBreakBeforeMultilineStrings: true
20-
AlwaysBreakTemplateDeclarations: true
21-
BinPackArguments: true
226
BinPackParameters: true
237
BraceWrapping:
248
AfterClass: true
@@ -31,33 +15,11 @@ BraceWrapping:
3115
AfterUnion: true
3216
BeforeCatch: true
3317
BeforeElse: true
34-
IndentBraces: false
3518
SplitEmptyFunction: false
36-
SplitEmptyRecord: true
37-
SplitEmptyNamespace: true
38-
BreakBeforeBinaryOperators: None
3919
BreakBeforeBraces: Custom
40-
BreakBeforeInheritanceComma: false
4120
BreakBeforeTernaryOperators: false
42-
BreakConstructorInitializersBeforeComma: false
43-
BreakConstructorInitializers: BeforeColon
44-
BreakAfterJavaFieldAnnotations: false
45-
BreakStringLiterals: true
4621
ColumnLimit: 100
47-
CommentPragmas: '^ IWYU pragma:'
48-
CompactNamespaces: false
49-
ConstructorInitializerAllOnOneLineOrOnePerLine: true
5022
ConstructorInitializerIndentWidth: 2
51-
ContinuationIndentWidth: 4
52-
Cpp11BracedListStyle: true
53-
DerivePointerAlignment: false
54-
DisableFormat: false
55-
ExperimentalAutoDetectBinPacking: false
56-
FixNamespaceComments: true
57-
ForEachMacros:
58-
- foreach
59-
- Q_FOREACH
60-
- BOOST_FOREACH
6123
IncludeCategories:
6224
- Regex: '^".*'
6325
Priority: 1
@@ -72,41 +34,9 @@ IncludeCategories:
7234
IncludeIsMainRegex: '(Test)?$'
7335
IndentCaseLabels: false
7436
IndentWidth: 4
75-
IndentWrappedFunctionNames: false
76-
JavaScriptQuotes: Leave
77-
JavaScriptWrapImports: true
78-
KeepEmptyLinesAtTheStartOfBlocks: false
79-
MacroBlockBegin: ''
80-
MacroBlockEnd: ''
8137
MaxEmptyLinesToKeep: 2
82-
NamespaceIndentation: None
83-
ObjCBlockIndentWidth: 2
84-
ObjCSpaceAfterProperty: false
85-
ObjCSpaceBeforeProtocolList: false
8638
PenaltyBreakAssignment: 1
87-
PenaltyBreakBeforeFirstCallParameter: 1
8839
PenaltyBreakComment: 50
89-
PenaltyBreakFirstLessLess: 120
90-
PenaltyBreakString: 1000
91-
PenaltyExcessCharacter: 1000000
92-
PenaltyReturnTypeOnItsOwnLine: 200
93-
PointerAlignment: Left
94-
ReflowComments: true
95-
SortIncludes: true
96-
SortUsingDeclarations: true
97-
SpaceAfterCStyleCast: false
98-
SpaceAfterTemplateKeyword: true
99-
SpaceBeforeAssignmentOperators: true
100-
SpaceBeforeParens: ControlStatements
101-
SpaceInEmptyParentheses: false
102-
SpacesBeforeTrailingComments: 2
103-
SpacesInAngles: false
104-
SpacesInContainerLiterals: true
105-
SpacesInCStyleCastParentheses: false
106-
SpacesInParentheses: false
107-
SpacesInSquareBrackets: false
108-
Standard: Auto
10940
TabWidth: 4
110-
UseTab: Never
11141
...
11242

0 commit comments

Comments
 (0)
This repository has been archived.