瀏覽代碼

Re-applying 73a7a96, formatting, MyMesh reformat

hank 1 年之前
父節點
當前提交
4e2786c516
共有 2 個文件被更改,包括 132 次插入257 次删除
  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 suppressed because it is too large
+ 130 - 255
examples/companion_radio/MyMesh.cpp


Some files were not shown because too many files changed in this diff