Skip to content

Commit 080f112

Browse files
committed
import settings from autoware_common
Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
1 parent 354b57b commit 080f112

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2013
-0
lines changed

.clang-format

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
5+
AccessModifierOffset: -2
6+
AlignAfterOpenBracket: AlwaysBreak
7+
AllowShortFunctionsOnASingleLine: InlineOnly
8+
BraceWrapping:
9+
AfterClass: true
10+
AfterFunction: true
11+
AfterNamespace: true
12+
AfterStruct: true
13+
BreakBeforeBraces: Custom
14+
ColumnLimit: 100
15+
ConstructorInitializerIndentWidth: 0
16+
ContinuationIndentWidth: 2
17+
DerivePointerAlignment: false
18+
PointerAlignment: Middle
19+
ReflowComments: true
20+
IncludeCategories:
21+
# C++ system headers
22+
- Regex: <[a-z_]*>
23+
Priority: 6
24+
CaseSensitive: true
25+
# C system headers
26+
- Regex: <.*\.h>
27+
Priority: 5
28+
CaseSensitive: true
29+
# Boost headers
30+
- Regex: boost/.*
31+
Priority: 4
32+
CaseSensitive: true
33+
# Message headers
34+
- Regex: .*_msgs/.*
35+
Priority: 3
36+
CaseSensitive: true
37+
- Regex: .*_srvs/.*
38+
Priority: 3
39+
CaseSensitive: true
40+
# Other Package headers
41+
- Regex: <.*>
42+
Priority: 2
43+
CaseSensitive: true
44+
# Local package headers
45+
- Regex: '".*"'
46+
Priority: 1
47+
CaseSensitive: true

0 commit comments

Comments
 (0)