aboutsummaryrefslogtreecommitdiff
path: root/src/venus/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to 'src/venus/.clang-format')
-rw-r--r--src/venus/.clang-format8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/venus/.clang-format b/src/venus/.clang-format
index 00011ee2..74cb184c 100644
--- a/src/venus/.clang-format
+++ b/src/venus/.clang-format
@@ -15,13 +15,15 @@ Cpp11BracedListStyle: false
ForEachMacros:
- LIST_FOR_EACH_ENTRY
- LIST_FOR_EACH_ENTRY_SAFE
+ - list_for_each_entry
+ - list_for_each_entry_safe
IncludeBlocks: Regroup
IncludeCategories:
- - Regex: '^("config.h"|"vkr_common.h")$'
+ - Regex: '^"(config|vkr_common|proxy_common|render_common).h"$'
Priority: 0
- - Regex: '^"vkr_'
+ - Regex: '^"(vkr|proxy|render)_'
Priority: 3
- - Regex: '^"(virgl|vrend_|c11/|util/|os/|pipe/|venus-protocol/)'
+ - Regex: '^"(virgl|vrend_|c11/|util/|os/|pipe/|venus-protocol/|server/)'
Priority: 2
- Regex: '.*'
Priority: 1