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