- User Since
- Jun 9 2019, 10:44 AM (6 w, 8 h)
Thu, Jul 18
I got your idea now.
No, there is no test coverage for that case, and with the current patch they have to add SortPriority.
To avoid this shall I set SortPriority as Priority as default if it is not defined? I think that will fix the issue.
Wed, Jul 17
Tue, Jul 16
In the following patch I have modified Include categories by adding a new field "sortInlcudes" which defines the priority of the sort. And priority field will now only be used for grouping.
Mon, Jul 15
Is this change that was meant?
I guess my comment was that you patche introduces a lot of code duplication, could the small amount of code you added be say put into a lambda and past in based on style?
Sun, Jul 14
I think we can take input from users the header files which should be grouped together and pass them to regex searches which then sets up priority.
But I dob the feasibility of this approach. Will come up with one.
I guess its not completely clear how this differs from just using the IncludeCategories?
Sat, Jul 13
This is the squashed commit of both Adding NetBSD Style and adding sortNetBSDIncludes
Wed, Jun 26
Jun 12 2019
Jun 11 2019
Changed Style name to OnePerLineBitFieldDecl
Jun 10 2019
Made some missing style modifications in the last revision
Added unittests and made the changes suggested by @mgorny