diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2023-08-17 12:32:50 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2023-08-17 12:32:50 +0200 |
| commit | 375799fa79d1af76f33299acc20a11a167a021f8 (patch) | |
| tree | 8f91b982ec96225c33a2f4871730ababffe5cab0 /source/.clang-format | |
| parent | af471b9b780869915d3217b228e24d025892de47 (diff) | |
| download | wanda-375799fa79d1af76f33299acc20a11a167a021f8.tar.xz wanda-375799fa79d1af76f33299acc20a11a167a021f8.zip | |
project: restructure libraries and build env
Diffstat (limited to 'source/.clang-format')
| -rw-r--r-- | source/.clang-format | 16 |
1 files changed, 13 insertions, 3 deletions
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 |
