diff --git a/.clang-format b/.clang-format index 3db5891..b47e6dc 100644 --- a/.clang-format +++ b/.clang-format @@ -1,25 +1,28 @@ -# Requires clang version >= 3.8 +# Requires clang-format 14 or newer BasedOnStyle: LLVM -Standard: Cpp11 -# +Standard: c++17 + AccessModifierOffset: -4 -AlignConsecutiveAssignments: true -AlignEscapedNewlinesLeft: true -AlignOperands: true +AlignConsecutiveAssignments: + Enabled: true + AcrossEmptyLines: false + AcrossComments: false +AlignConsecutiveDeclarations: + Enabled: true + AcrossEmptyLines: false + AcrossComments: false +AlignOperands: Align AlignTrailingComments: true -AlignConsecutiveDeclarations: true AllowShortFunctionsOnASingleLine: Inline -AlwaysBreakAfterDefinitionReturnType: TopLevel -AlwaysBreakTemplateDeclarations: false BinPackArguments: false BreakBeforeBraces: Stroustrup ColumnLimit: 100 -ConstructorInitializerAllOnOneLineOrOnePerLine: true Cpp11BracedListStyle: true IndentCaseLabels: false IndentWidth: 4 KeepEmptyLinesAtTheStartOfBlocks: false +PackConstructorInitializers: NextLine PointerAlignment: Left -SortIncludes: false +SortIncludes: Never SpaceAfterCStyleCast: true # vim: ft=yaml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 35c56fc..9db4553 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,10 +1,103 @@ - - - \ No newline at end of file diff --git a/.idea/editor.xml b/.idea/editor.xml index a22fcf6..e54e87a 100644 --- a/.idea/editor.xml +++ b/.idea/editor.xml @@ -1,6 +1,102 @@ - \ No newline at end of file