Skip to content

Commit 833f1b5

Browse files
committed
Import v23.0 changes SHA[7cba135,06dff2281]
1 parent 8ee9c38 commit 833f1b5

10,654 files changed

Lines changed: 2510540 additions & 244637 deletions

File tree

Some content is hidden

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

.clang-format

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
Language: Cpp
33
# BasedOnStyle: LLVM
4+
InsertBraces: true
5+
SeparateDefinitionBlocks: Always
46
AccessModifierOffset: -2
57
AlignAfterOpenBracket: Align
68
AlignArrayOfStructures: None
@@ -17,7 +19,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
1719
AllowShortEnumsOnASingleLine: true
1820
AllowShortBlocksOnASingleLine: Never
1921
AllowShortCaseLabelsOnASingleLine: false
20-
AllowShortFunctionsOnASingleLine: All
22+
AllowShortFunctionsOnASingleLine: Empty
2123
AllowShortLambdasOnASingleLine: All
2224
AllowShortIfStatementsOnASingleLine: Never
2325
AllowShortLoopsOnASingleLine: false
@@ -50,8 +52,8 @@ BraceWrapping:
5052
SplitEmptyNamespace: true
5153
BreakBeforeBinaryOperators: None
5254
BreakBeforeConceptDeclarations: true
53-
#BreakBeforeBraces: Attach
54-
BreakBeforeBraces: Stroustrup
55+
BreakBeforeBraces: Linux
56+
#BreakBeforeBraces: Stroustrup
5557
BreakBeforeInheritanceComma: false
5658
BreakInheritanceList: BeforeColon
5759
BreakBeforeTernaryOperators: true
@@ -128,7 +130,7 @@ PenaltyExcessCharacter: 1000000
128130
PenaltyReturnTypeOnItsOwnLine: 60
129131
PenaltyIndentedWhitespace: 0
130132
PointerAlignment: Right
131-
PPIndentWidth: -1
133+
PPIndentWidth: 0
132134
ReferenceAlignment: Pointer
133135
ReflowComments: true
134136
ShortNamespaceLines: 1
@@ -166,7 +168,7 @@ StatementAttributeLikeMacros:
166168
StatementMacros:
167169
- Q_UNUSED
168170
- QT_REQUIRE_VERSION
169-
TabWidth: 8
171+
TabWidth: 2
170172
UseCRLF: false
171173
UseTab: Never
172174
WhitespaceSensitiveMacros:

0 commit comments

Comments
 (0)