1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00
transmission/gtk/.clang-format
Mike Gelfand 192a76b621
Move GTK compatibility definitions into a separate header (#4493)
* Move GTK compatibility macros into a separate header

* Fix Cairo compatibility checks

* Move Glib-namespaced definitions to GtkCompat header

* Remove unused stringify definitions since we're using fmtlib
2022-12-29 02:42:20 +00:00

28 lines
691 B
YAML

---
BasedOnStyle: InheritParentConfig
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<libtransmission/transmission.h>'
Priority: 3
SortPriority: 3
- Regex: '^<libtransmission/'
Priority: 3
SortPriority: 4
- Regex: '^<(cairo|gdk|gio|glib|gtk|pango)mm([-./]|config)'
Priority: 5
- Regex: '^<(fmt)/'
Priority: 6
- Regex: '^<(cairo|gdk|gio|glib|gtk|pango)[-./]'
Priority: 8
- Regex: '^<(libappindicator|libayatana-appindicator)/'
Priority: 9
- Regex: '^<(winsock2|ws2tcpip)\.h>'
Priority: 10
- Regex: '^<(arpa|sys)/'
Priority: 11
- Regex: '^<[a-z_]+>'
Priority: 7
- Regex: '.*'
Priority: 2
SortIncludes: CaseInsensitive