Skip to content

Commit ddedf07

Browse files
committed
Update .clang-format
1 parent bf44da6 commit ddedf07

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.clang-format

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,15 @@ MaxEmptyLinesToKeep: 1
7878
# Sorting
7979
IncludeBlocks: Regroup
8080
IncludeCategories:
81+
# "Header.h", "Header.hpp" etc.
8182
- Priority: 1
8283
Regex: '^\"(.+)\"$'
84+
# Core Library
8385
- Priority: 2
8486
Regex: '^<Core\/'
87+
# C++ standard headers
8588
- Priority: 3
86-
Regex: '^<([^c](.+)|coroutine|charconv|chrono|complex|concepts|condition_variable)>$'
87-
- Priority: 4
88-
Regex: '^<c(.+)>$'
89+
Regex: '<[[:alnum:]_-]+>'
8990
SortIncludes: true
9091
SortUsingDeclarations: true
9192

0 commit comments

Comments
 (0)