Skip to content

Commit

Permalink
Update .clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Aug 10, 2023
1 parent f1fe2df commit af5846e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ AlignTrailingComments: true
AlignConsecutiveDeclarations: None
AlignConsecutiveBitFields: Consecutive

AccessModifierOffset: -1

IndentCaseLabels: true
IndentAccessModifiers: false
AccessModifierOffset: -1
IndentRequiresClause: true
IndentPPDirectives: BeforeHash

NamespaceIndentation: None
FixNamespaceComments: true
Expand All @@ -40,6 +43,7 @@ AllowShortEnumsOnASingleLine: false
AllowShortLoopsOnASingleLine: false

SpaceAfterCStyleCast: true

SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: false
SpaceBeforeRangeBasedForLoopColon: false
Expand All @@ -49,13 +53,12 @@ BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakBeforeConceptDeclarations: true

RequiresClausePosition: OwnLine
IndentRequiresClause: true

BreakStringLiterals: true
BreakInheritanceList: AfterColon
BreakConstructorInitializers: BeforeColon

RequiresClausePosition: OwnLine

SortIncludes: CaseSensitive
IncludeBlocks: Regroup
IncludeCategories:
Expand Down

0 comments on commit af5846e

Please sign in to comment.