Allow single line enums

Although clang-format doesn't seem to be following the rule.
This commit is contained in:
Rodrigo Arias 2023-04-20 10:53:11 +02:00
parent 7262133782
commit 3b51902713

View File

@ -7,6 +7,7 @@ BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: None
AllowShortBlocksOnASingleLine: false
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: true
@ -15,6 +16,7 @@ BreakBeforeBraces: Custom
BreakConstructorInitializers: AfterColon
BraceWrapping:
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterStruct: false
AfterUnion: false