mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
ClangFormat: Correct order of includes
This commit is contained in:
parent
f8867620fe
commit
3a37fb29aa
@ -44,17 +44,21 @@ IncludeBlocks: Regroup
|
|||||||
|
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
# Public open62541 includes starting with <open62541/
|
# Public open62541 includes starting with <open62541/
|
||||||
- Regex: '^((<|")(open62541)\/)'
|
- Regex: '^(<(open62541)\/)'
|
||||||
Priority: 3
|
Priority: 10
|
||||||
|
|
||||||
|
# Public open62541 includes starting with "open62541/
|
||||||
|
- Regex: '^("(open62541)\/)'
|
||||||
|
Priority: 20
|
||||||
|
|
||||||
# Internal open62541 includes starting with "ua_" or "open62541_"
|
# Internal open62541 includes starting with "ua_" or "open62541_"
|
||||||
- Regex: '^((<|")(([[:alnum:]]+\/)?ua_|open62541_))'
|
- Regex: '^((<|")(([[:alnum:]]+\/)?ua_|open62541_))'
|
||||||
Priority: 4
|
Priority: 30
|
||||||
|
|
||||||
# All other system header
|
# All other system header
|
||||||
- Regex: '<[[:alnum:].]+>'
|
- Regex: '<[[:alnum:].]+>'
|
||||||
Priority: 5
|
Priority: 40
|
||||||
|
|
||||||
# The rest
|
# The rest
|
||||||
- Regex: '.*'
|
- Regex: '.*'
|
||||||
Priority: 6
|
Priority: 50
|
||||||
|
Loading…
Reference in New Issue
Block a user