Skip to content
Snippets Groups Projects
Commit cc63242c authored by Administrator's avatar Administrator
Browse files

Add proper ordering of include statements

The include statements are ordered from local to global with allways a blank
line between the blocks.
parent 58cec289
No related branches found
No related tags found
1 merge request!233Fix clang format
......@@ -37,7 +37,22 @@ DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Preserve
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^("|<)Cbm'
Priority: 1
- Regex: '^("|<)Fair'
Priority: 2
- Regex: '^("|<)T'
Priority: 3
- Regex: '^("|<)boost'
Priority: 4
- Regex: '^<.*[^\.h]>'
Priority: 5
- Regex: '^<.*>'
Priority: 6
- Regex: '.*'
Priority: 7
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment