Jelajahi Sumber

Re-applying 73a7a96, formatting, MyMesh reformat

hank 1 tahun lalu
induk
melakukan
4e2786c516
2 mengubah file dengan 132 tambahan dan 257 penghapusan
  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

File diff ditekan karena terlalu besar
+ 130 - 255
examples/companion_radio/MyMesh.cpp


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini