3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-09 01:11:55 +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
UseTab: Never
# Column width
ColumnLimit: 120
@ -34,6 +35,8 @@ BraceWrapping:
AfterControlStatement: false
AfterNamespace: false
AfterStruct: false
BeforeElse : true
AfterCaseLabel: false
# Spacing
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
@ -42,7 +45,6 @@ SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
IndentCaseLabels: false
# Alignment
AlignConsecutiveAssignments: false
@ -56,6 +58,7 @@ BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
# BreakBeforeElse: true
# Includes
SortIncludes: false # Z3 has specific include ordering conventions
@ -63,6 +66,11 @@ SortIncludes: false # Z3 has specific include ordering conventions
# Namespaces
NamespaceIndentation: All
# Switch statements
IndentCaseLabels: false
AllowShortCaseLabelsOnASingleLine: true
IndentCaseBlocks: false
# Comments and documentation
ReflowComments: true
SpacesBeforeTrailingComments: 2