Skip to content

Commit 15316cc

Browse files
committed
clang-format header include grouping: _class.h has top priority
In some cases, the main include file has a suffix _class.h, and should therefore be placed at the top. This is a follow-up to 3b7b19a.
1 parent f2240be commit 15316cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.clang-format

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ PointerAlignment: Right
4949
ReflowComments: 'false'
5050
IncludeBlocks: Regroup
5151
IncludeCategories:
52+
- Regex: '_class.h(>|")$'
53+
Priority: 0
5254
- Regex: '<util/'
5355
Priority: 1
5456
- Regex: '<goto-programs/'

0 commit comments

Comments
 (0)