1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 07:42:37 +00:00
transmission/gtk/.clang-format
Charles Kerr a51f08e532
perf: prefer small containers (#6542)
* perf: make pref_is_savable() constexpr

* refactor: use std::vector in tr_torrents::removedSince()

* chore: remove unused typedef in OptionsDialog

* perf: use std::vector in tr_num_parse_range()

* perf: use small::max_size_set in FileTreeItem::update()

* perf: use small:set in Wishlist::next()

* perf: use small:map in FilterBar

* perf: use small::map for counts in tr_logAddMessage()

* perf: use small::max_size_map in FileTreeModel::twiddleWanted()

perf: use small::max_size_map in FileTreeModel::twiddlePriority()

* perf: use a std::array instead of std::map in TorrentFilter::update()

* perf: use a std::array instead of std::map in TorrentSorter::set_mode()

* perf: use a std::array instead of std::map in TorrentSorter::update()

* perf: use small::set in Application::Impl::on_rpc_changed_idle()

* perf: use std::array for MessageLogColumnsModel::level_names_

* fixup! perf: use std::array for MessageLogColumnsModel::level_names_

* fixup! perf: use small::map for counts in tr_logAddMessage()
2024-01-27 09:33:12 -06:00

28 lines
697 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|small)/'
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