Bläddra i källkod

Re-applying 73a7a96, formatting, MyMesh reformat

hank 1 år sedan
förälder
incheckning
4e2786c516
2 ändrade filer med 132 tillägg och 257 borttagningar
  1. 2 2
      .clang-format
  2. 130 255
      examples/companion_radio/MyMesh.cpp

+ 2 - 2
.clang-format

@@ -14,7 +14,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
 AllowShortBlocksOnASingleLine: false
 AllowShortCaseLabelsOnASingleLine: false
 AllowShortFunctionsOnASingleLine: Inline
-AllowShortIfStatementsOnASingleLine: false
+AllowShortIfStatementsOnASingleLine: true
 AllowShortLoopsOnASingleLine: false
 AlwaysBreakAfterDefinitionReturnType: None
 AlwaysBreakAfterReturnType: None
@@ -35,7 +35,7 @@ BraceWrapping:
   BeforeElse:      true
   IndentBraces:    false
 BreakBeforeBinaryOperators: None
-BreakBeforeBraces: Stroustrup
+BreakBeforeBraces: Attach
 BreakBeforeTernaryOperators: true
 BreakConstructorInitializersBeforeComma: false
 ColumnLimit:     110

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 130 - 255
examples/companion_radio/MyMesh.cpp


Vissa filer visades inte eftersom för många filer har ändrats