From e309091d17720b69c53172a41c0ea45ad7b66911 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 27 Jun 2024 16:13:41 +0530 Subject: cmd/bpf: init --- .clang-format | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..f304ad3 --- /dev/null +++ b/.clang-format @@ -0,0 +1,16 @@ +BasedOnStyle: LLVM +BreakBeforeBraces: Linux +IndentCaseLabels: false + +AlignConsecutiveMacros: true +AllowShortIfStatementsOnASingleLine: false + +ContinuationIndentWidth: 8 +IndentWidth: 8 +TabWidth: 8 +UseTab: Always + +ForEachMacros: + - 'LIST_FOREACH' + - 'CIRCLEQ_FOREACH' + - 'cJSON_ArrayForEach' -- cgit v1.2.3