.clang-format: revert two recent changes

- the option 'InsertBraces' might be helpful, however under MSVC it makes much more troubles as it helps: All the time the braces are either inserted in a wrong way or often only the opening brace.
Since we did not use this setting previously, this recent change can be safely reverted for now.

- the 'BeforeElse' change was obviously a mistake in the previous change. All the time we used a linebreak before an else
This commit is contained in:
Uwe
2023-01-20 03:24:02 +01:00
parent 7fc59a68a0
commit 2b7de83150

View File

@@ -25,7 +25,7 @@ BraceWrapping:
AfterNamespace: true
AfterUnion: true
BeforeCatch: true
BeforeElse: false
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: true
@@ -39,7 +39,7 @@ ContinuationIndentWidth: 4
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 4
InsertBraces: true
InsertBraces: false
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None