From 1ce4acb85a3bcb953c0f9cc91d2edc855969948b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 22 Aug 2022 13:40:27 +0200 Subject: add some code A basic client-server app, the client sends commands as an array of strings. Hopefully I didn't mess up, and hopefully it'll be useful. --- src/.clang-format | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/.clang-format (limited to 'src/.clang-format') diff --git a/src/.clang-format b/src/.clang-format new file mode 100644 index 0000000..d46a7a3 --- /dev/null +++ b/src/.clang-format @@ -0,0 +1,12 @@ +--- +# The "Linux kernel" style, borrowed and modified from +# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#examples +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: AlignWithSpaces +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false + +ColumnLimit: 100 +AllowShortFunctionsOnASingleLine: Empty -- cgit v1.2.3