Explorar o código

build: clang-format

Michele Caini hai 1 ano
pai
achega
c6479e06ae
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .clang-format

+ 2 - 1
.clang-format

@@ -2,10 +2,11 @@ BasedOnStyle: llvm
 ---
 AccessModifierOffset: -4
 AlignEscapedNewlines: DontAlign
-AllowShortBlocksOnASingleLine: Empty
+AllowShortBlocksOnASingleLine: Always
 AllowShortEnumsOnASingleLine: true
 AllowShortFunctionsOnASingleLine: Empty
 AllowShortIfStatementsOnASingleLine: WithoutElse
+AllowShortLambdasOnASingleLine: All
 AllowShortLoopsOnASingleLine: true
 AlwaysBreakTemplateDeclarations: Yes
 BreakBeforeBinaryOperators: NonAssignment