aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.clang-format
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 02:17:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 02:22:57 +0300
commitd373bc6ed0c3b97526fc350b01d2d407409d0fce (patch)
tree980e72ed5aeabdea4e78fe434368ded664f14ea7 /.clang-format
parentunit_tests: add a test for call stack collection (diff)
downloadwinapi-debug-d373bc6ed0c3b97526fc350b01d2d407409d0fce.tar.gz
winapi-debug-d373bc6ed0c3b97526fc350b01d2d407409d0fce.zip
clang-format: regroup #includes
Diffstat (limited to '')
-rw-r--r--.clang-format14
1 files changed, 5 insertions, 9 deletions
diff --git a/.clang-format b/.clang-format
index fb0d2f6..08d4d1d 100644
--- a/.clang-format
+++ b/.clang-format
@@ -10,18 +10,14 @@ IndentWidth: 4
SpacesBeforeTrailingComments: 1
IncludeCategories:
- - Regex: '^".*'
+ - Regex: '^".+'
Priority: 1
- - Regex: '^<test_lib.*'
+ - Regex: '^<test_lib\.|^<pdb\/'
Priority: 2
- - Regex: '^<pdb/'
+ - Regex: '^<boost\/|^<SafeInt\.'
Priority: 3
- - Regex: '^<boost/'
- Priority: 4
- - Regex: '^<SafeInt.hpp>$'
- Priority: 5
- Regex: '^<.*\.h>$'
- Priority: 6
+ Priority: 4
- Regex: '.*'
- Priority: 7
+ Priority: 5
...