forked from ebiggers/wimlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
34 lines (34 loc) · 1 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
BasedOnStyle: LLVM
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AlignConsecutiveMacros: Consecutive
AlwaysBreakAfterReturnType: All
BreakBeforeBraces: Linux
Cpp11BracedListStyle: false
ForEachMacros:
- 'avl_tree_for_each_in_order'
- 'avl_tree_for_each_in_postorder'
- 'avl_tree_for_each_in_reverse_order'
- 'dentry_for_each_ci_match'
- 'for_dentry_child'
- 'for_dentry_child_postorder'
- 'for_inode_child'
- 'for_inode_child_postorder'
- 'hlist_for_each_entry'
- 'hlist_for_each_entry_safe'
- 'image_for_each_inode'
- 'image_for_each_inode_safe'
- 'image_for_each_unhashed_blob'
- 'image_for_each_unhashed_blob_safe'
- 'inode_for_each_dentry'
- 'inode_for_each_extraction_alias'
- 'list_for_each'
- 'list_for_each_entry'
- 'list_for_each_entry_reverse'
- 'list_for_each_entry_safe'
- 'xml_node_for_each_child'
IncludeBlocks: Preserve
IndentCaseLabels: false
IndentWidth: 8
SpaceBeforeParens: ControlStatementsExceptControlMacros
UseTab: Always