Skip to content

Commit ed333a6

Browse files
committed
Update clang-format to 200203/2663a25f version.
GitOrigin-RevId: 486cb6c343f52091f4d83836eee46c7c59550bd9
1 parent 8872fbf commit ed333a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎.clang-format

+7
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,21 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: true
5757
ConstructorInitializerIndentWidth: 4
5858
ContinuationIndentWidth: 4
5959
Cpp11BracedListStyle: true
60+
DeriveLineEnding: true
6061
DerivePointerAlignment: true
6162
DisableFormat: false
6263
ExperimentalAutoDetectBinPacking: false
6364
FixNamespaceComments: true
6465
ForEachMacros:
6566
- Q_FOREACH_THIS_LIST_MUST_BE_NON_EMPTY
6667
IncludeBlocks: Preserve
68+
IndentCaseBlocks: false
6769
IndentCaseLabels: true
6870
IndentGotoLabels: true
6971
IndentPPDirectives: None
7072
IndentWidth: 2
7173
IndentWrappedFunctionNames: false
74+
# InsertTrailingCommas: None
7275
# JavaScriptQuotes: Leave
7376
# JavaScriptWrapImports: true
7477
KeepEmptyLinesAtTheStartOfBlocks: false
@@ -78,6 +81,7 @@ MaxEmptyLinesToKeep: 1
7881
NamespaceIndentation: None
7982
# ObjCBinPackProtocolList: Never
8083
# ObjCBlockIndentWidth: 2
84+
# ObjCBreakBeforeNestedBlockParam: true
8185
# ObjCSpaceAfterProperty: false
8286
# ObjCSpaceBeforeProtocolList: true
8387
PenaltyBreakAssignment: 2
@@ -101,15 +105,18 @@ SpaceBeforeCtorInitializerColon: true
101105
SpaceBeforeInheritanceColon: true
102106
SpaceBeforeParens: ControlStatements
103107
SpaceBeforeRangeBasedForLoopColon: true
108+
SpaceBeforeSquareBrackets: false
104109
SpaceInEmptyBlock: false
105110
SpaceInEmptyParentheses: false
106111
SpacesBeforeTrailingComments: 2
107112
SpacesInAngles: false
113+
SpacesInConditionalStatement: false
108114
SpacesInContainerLiterals: true
109115
SpacesInCStyleCastParentheses: false
110116
SpacesInParentheses: false
111117
SpacesInSquareBrackets: false
112118
Standard: Auto
113119
TabWidth: 100 # 8
120+
UseCRLF: false
114121
UseTab: Never
115122
...

0 commit comments

Comments
 (0)