diff --git a/qt6-after/qt6-migrated-legatus/.clang-format b/qt6-after/qt6-migrated-legatus/.clang-format new file mode 100644 index 000000000..0e467cc85 --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/.clang-format @@ -0,0 +1,54 @@ +--- +BasedOnStyle: LLVM +AccessModifierOffset: -2 +AlignTrailingComments: true +AlignAfterOpenBracket: true +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortFunctionsOnASingleLine: Inline +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AllowShortBlocksOnASingleLine: false +BinPackArguments: false +BinPackParameters: false +BreakBeforeBinaryOperators: false +BreakBeforeBraces: Allman +BreakConstructorInitializers: BeforeComma +BreakInheritanceList: BeforeComma +ColumnLimit: 170 +ConstructorInitializerAllOnOneLineOrOnePerLine: false +IncludeCategories: + - Regex: '^".*"$' + Priority: 1 + - Regex: '^<.*>$' + Priority: 2 +IndentCaseLabels: true +IndentWidth: 2 +InsertNewlineAtEOF: true +Language: Cpp +MaxEmptyLinesToKeep: 2 +NamespaceIndentation: All +PenaltyBreakBeforeFirstCallParameter: 1000 +PenaltyReturnTypeOnItsOwnLine: 1000 +PointerAlignment: Right +PointerBindsToType: false +SortIncludes: false +SpaceBeforeParens: ControlStatements +SpacesInAngles: false +SpacesInParentheses: false +Standard: c++20 +UseTab: Never +TabWidth: 2 +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +CompactNamespaces: false +DerivePointerAlignment: false +ReflowComments: false +SortUsingDeclarations: false +SpaceAfterCStyleCast: false +SpaceAfterTemplateKeyword: true +SpaceBeforeAssignmentOperators: true +SpaceBeforeInheritanceColon: true +SpaceBeforeRangeBasedForLoopColon: true +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +FixNamespaceComments: false \ No newline at end of file