aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
blob: 8424e956ea8b04c93c463e194f9c34626940c894 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
BasedOnStyle: LLVM
BreakBeforeBraces: Linux
IndentCaseLabels: false

AlignConsecutiveMacros: true
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty

ContinuationIndentWidth: 8
IndentWidth: 8
TabWidth: 8
UseTab: Always

ForEachMacros:
  - 'LIST_FOREACH'
  - 'CIRCLEQ_FOREACH'
  - 'cJSON_ArrayForEach'