aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
blob: acc151f3a3b768ad18ed7fde0b95f2da27c7a13c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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'
  - 'HASH_ITER'