Skip to content

Commit

Permalink
.clang-format: refresh ordering of #includes
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Oct 26, 2024
1 parent 85997fb commit 18f6954
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,14 @@ EmptyLineBeforeAccessModifier: LogicalBlock
FixNamespaceComments: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: 'csapi/'
- Regex: '[</](events|jobs)/'
Priority: 8
- Regex: '(events|jobs)/'
- Regex: '[</]csapi/'
Priority: 12
- Regex: '^<(Quotient/)?.+\.h>'
Priority: 16
- Regex: '^<Qt(Core|Network|Gui)/.+'
Priority: 28
- Regex: '^<Qt.+(/.+)?'
Priority: 24
- Regex: '^<'
Expand Down

0 comments on commit 18f6954

Please sign in to comment.