From 375799fa79d1af76f33299acc20a11a167a021f8 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 17 Aug 2023 12:32:50 +0200 Subject: project: restructure libraries and build env --- source/.clang-format | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'source/.clang-format') diff --git a/source/.clang-format b/source/.clang-format index b99e359..a1b0b91 100644 --- a/source/.clang-format +++ b/source/.clang-format @@ -33,12 +33,22 @@ BraceWrapping: BreakBeforeInheritanceComma: 'false' BreakConstructorInitializers: BeforeComma BreakStringLiterals: 'true' -ColumnLimit: '0' +ColumnLimit: '120' CompactNamespaces: 'false' Cpp11BracedListStyle: 'true' DerivePointerAlignment: 'false' FixNamespaceComments: 'true' -IncludeBlocks: Preserve +IncludeBlocks: Regroup +IncludeCategories: + # Local Headers + - Regex: '(<|")wanda/.+\.hpp(>|")' + Priority: 100 + # STL Headers + - Regex: '<[[:alnum:]._]+(?!\.(h|hpp))>' + Priority: 400 + # General System Headers + - Regex: '<([[:alnum:]._]/*)+\.(h|hpp)>' + Priority: 300 IndentCaseLabels: 'true' IndentPPDirectives: None IndentWidth: '2' @@ -57,8 +67,8 @@ SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: 'false' SpacesBeforeTrailingComments: '2' SpacesInAngles: 'false' -SpacesInCStyleCastParentheses: 'false' SpacesInContainerLiterals: 'false' +SpacesInCStyleCastParentheses: 'false' SpacesInParentheses: 'false' SpacesInSquareBrackets: 'false' Standard: Cpp11 -- cgit v1.2.3