From ab449ebcc06f0011f9270bb2ffd018661ead109a Mon Sep 17 00:00:00 2001 From: Leonid Fedorov Date: Thu, 11 Nov 2021 11:39:49 +0000 Subject: [PATCH] .clang-format --- .clang-format | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..80bbd88c1 --- /dev/null +++ b/.clang-format @@ -0,0 +1,22 @@ +--- +BasedOnStyle: Google +IndentWidth: 2 +BreakBeforeBraces: Allman +ColumnLimit: 110 + +--- +Language: Cpp +AccessModifierOffset: -1 +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +BreakConstructorInitializersBeforeComma: true +ConstructorInitializerIndentWidth: 1 +DerivePointerAlignment: false +IndentCaseLabels: false +NamespaceIndentation: None +PointerAlignment: Left +SortIncludes: true +Standard: Auto