Quellcode durchsuchen

Re-applying 73a7a96, formatting, MyMesh reformat

hank vor 1 Jahr
Ursprung
Commit
4e2786c516
2 geänderte Dateien mit 132 neuen und 257 gelöschten Zeilen
  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

Datei-Diff unterdrückt, da er zu groß ist
+ 130 - 255
examples/companion_radio/MyMesh.cpp


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.