diff options
| author | Filip Wandzio <contact@philw.dev> | 2026-03-01 01:03:39 +0100 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2026-03-01 01:03:39 +0100 |
| commit | bf0d77d7d448e964e9716d5af67c48f3d014f090 (patch) | |
| tree | e55f1e91a8c20cd737dfb01dc12a954c25711e01 /.clang-format | |
| download | embedded_guardian-bf0d77d7d448e964e9716d5af67c48f3d014f090.tar.gz embedded_guardian-bf0d77d7d448e964e9716d5af67c48f3d014f090.zip | |
Scaffold basic project tree, implement benchmarking logic
Implement unit testing guardian
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..670c9d1 --- /dev/null +++ b/.clang-format | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | Language: C | ||
| 2 | BasedOnStyle: LLVM | ||
| 3 | AccessModifierOffset: -4 | ||
| 4 | AlignAfterOpenBracket: Align | ||
| 5 | AlignConsecutiveAssignments: false | ||
| 6 | AlignConsecutiveDeclarations: false | ||
| 7 | AlignEscapedNewlines: Left | ||
| 8 | AlignOperands: true | ||
| 9 | AlignTrailingComments: true | ||
| 10 | AllowAllParametersOfDeclarationOnNextLine: false | ||
| 11 | AllowShortCaseLabelsOnASingleLine: false | ||
| 12 | AllowShortFunctionsOnASingleLine: InlineOnly | ||
| 13 | AllowShortIfStatementsOnASingleLine: false | ||
| 14 | AllowShortLoopsOnASingleLine: false | ||
| 15 | AlwaysBreakAfterReturnType: None | ||
| 16 | BinPackArguments: false | ||
| 17 | BinPackParameters: false | ||
| 18 | BreakBeforeBinaryOperators: NonAssignment | ||
| 19 | BreakBeforeBraces: Linux | ||
| 20 | BreakBeforeTernaryOperators: true | ||
| 21 | BreakConstructorInitializersBeforeComma: true | ||
| 22 | ColumnLimit: 80 | ||
| 23 | ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
| 24 | DerivePointerAlignment: false | ||
| 25 | IndentCaseLabels: true | ||
| 26 | IndentWidth: 8 | ||
| 27 | KeepEmptyLinesAtTheStartOfBlocks: false | ||
| 28 | PointerAlignment: Left | ||
| 29 | SpacesBeforeTrailingComments: 1 | ||
| 30 | TabWidth: 8 | ||
| 31 | UseTab: Always | ||
