forked from PointCloudLibrary/pcl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
60 lines (60 loc) · 1.66 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
AlwaysBreakAfterReturnType: All
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterFunction: true
AfterClass: false
AfterStruct: false
BeforeElse: true
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBraces: Custom
BreakConstructorInitializers: BeforeComma
ColumnLimit: 88
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 0
Language: Cpp
NamespaceIndentation: None
PointerAlignment: Left
Standard: c++14
TabWidth: 2
UseTab: Never
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<pcl/'
Priority: 1
- Regex: '^<gtest/'
Priority: 2
- Regex: '^<boost/'
Priority: 3
- Regex: '^<(unsupported/)?Eigen/'
Priority: 4
- Regex: '^<flann/'
Priority: 5
- Regex: '^<Q[^/]+>$'
Priority: 6
- Regex: '^<ui_[^/]+\.h>$'
Priority: 6
- Regex: '^<vtk[^/]+\.h>$'
Priority: 7
- Regex: '^<librealsense2/'
Priority: 8
- Regex: '^<(ros|message_filters)/'
Priority: 9
- Regex: '^<opencv(2)?/'
Priority: 10
- Regex: '^<tide/'
Priority: 11
- Regex: '^<thrust/'
Priority: 12
- Regex: '^<(OpenGL|(GL(UT)?/))'
Priority: 13
# Matches all std includes. Match them before any unknown include, so we can order them behind.
- Regex: '^<[a-z]+>$'
Priority: 15
# Any unknown include
- Regex: '.*'
Priority: 14