summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-05-04 21:22:02 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-05-07 10:06:08 (GMT)
commit2faa3f6c55d2288316419f3efb8a483904a295f2 (patch)
tree8f4227f0e5299b5f6647e2e94cd7d52e55e643f5 /.clang-format
parent75e87e3db402c80390fa05c6b36ffab27089a46b (diff)
downloadCMake-2faa3f6c55d2288316419f3efb8a483904a295f2.zip
CMake-2faa3f6c55d2288316419f3efb8a483904a295f2.tar.gz
CMake-2faa3f6c55d2288316419f3efb8a483904a295f2.tar.bz2
Refactoring: Third-parties public headers are under cm3p prefix
Fixes: #20666
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format10
1 files changed, 6 insertions, 4 deletions
diff --git a/.clang-format b/.clang-format
index 4bfce44..8c015ef 100644
--- a/.clang-format
+++ b/.clang-format
@@ -32,16 +32,18 @@ IncludeCategories:
Priority: 5
- Regex: '^(<|")Qt?[A-Z]'
Priority: 6
- - Regex: '^(<|")cmsys/'
+ - Regex: '^<cmtp/'
Priority: 7
- - Regex: '^(<|")cm_'
+ - Regex: '^(<|")cmsys/'
Priority: 8
- - Regex: '^(<|")cm[A-Z][^.]+\.h'
+ - Regex: '^(<|")cm_'
Priority: 9
+ - Regex: '^(<|")cm[A-Z][^.]+\.h'
+ Priority: 10
- Regex: '^<[^.]+\.h'
Priority: 4
- Regex: '^<'
Priority: 1
- Regex: '.*'
- Priority: 10
+ Priority: 11
...