.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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user