Pārlūkot izejas kodu

Re-applying 73a7a96, formatting, MyMesh reformat

hank 1 gadu atpakaļ
vecāks
revīzija
4e2786c516
2 mainītis faili ar 132 papildinājumiem un 257 dzēšanām
  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

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 130 - 255
examples/companion_radio/MyMesh.cpp


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels