From a23f2368490b2b9e92c97f4d3e305ebe98e59a9e Mon Sep 17 00:00:00 2001 From: James Pace Date: Sun, 19 Feb 2023 22:15:47 +0000 Subject: [PATCH] Add clang-format. Fix entrypoint. --- .clang-format | 19 +++++++++++++++++++ docker/entrypoint.bash | 0 2 files changed, 19 insertions(+) create mode 100644 .clang-format mode change 100644 => 100755 docker/entrypoint.bash diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..e27109d --- /dev/null +++ b/.clang-format @@ -0,0 +1,19 @@ +--- +Language: Cpp +BasedOnStyle: Google + +AccessModifierOffset: -4 +AlignAfterOpenBracket: AlwaysBreak +BreakBeforeBraces: Allman +ColumnLimit: 100 +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +DerivePointerAlignment: false +PointerAlignment: Middle +ReflowComments: false +AllowShortBlocksOnASingleLine: false +BreakConstructorInitializers: AfterColon +BreakInheritanceList: AfterColon +AllowShortFunctionsOnASingleLine: Inline +IndentWidth: 4 +... diff --git a/docker/entrypoint.bash b/docker/entrypoint.bash old mode 100644 new mode 100755