3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-09 09:21:56 +00:00

updated clang format

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-10-02 20:15:40 -07:00
parent 84a9b38ec8
commit 85869b575b

View file

@ -9,6 +9,7 @@ IndentWidth: 4
TabWidth: 4 TabWidth: 4
UseTab: Never UseTab: Never
# Column width # Column width
ColumnLimit: 120 ColumnLimit: 120
@ -34,6 +35,8 @@ BraceWrapping:
AfterControlStatement: false AfterControlStatement: false
AfterNamespace: false AfterNamespace: false
AfterStruct: false AfterStruct: false
BeforeElse : true
AfterCaseLabel: false
# Spacing # Spacing
SpaceAfterCStyleCast: false SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false SpaceAfterLogicalNot: false
@ -42,7 +45,6 @@ SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false SpacesInCStyleCastParentheses: false
SpacesInParentheses: false SpacesInParentheses: false
SpacesInSquareBrackets: false SpacesInSquareBrackets: false
IndentCaseLabels: false
# Alignment # Alignment
AlignConsecutiveAssignments: false AlignConsecutiveAssignments: false
@ -56,6 +58,7 @@ BinPackArguments: true
BinPackParameters: true BinPackParameters: true
BreakBeforeBinaryOperators: None BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true BreakBeforeTernaryOperators: true
# BreakBeforeElse: true
# Includes # Includes
SortIncludes: false # Z3 has specific include ordering conventions SortIncludes: false # Z3 has specific include ordering conventions
@ -63,6 +66,11 @@ SortIncludes: false # Z3 has specific include ordering conventions
# Namespaces # Namespaces
NamespaceIndentation: All NamespaceIndentation: All
# Switch statements
IndentCaseLabels: false
AllowShortCaseLabelsOnASingleLine: true
IndentCaseBlocks: false
# Comments and documentation # Comments and documentation
ReflowComments: true ReflowComments: true
SpacesBeforeTrailingComments: 2 SpacesBeforeTrailingComments: 2