forked from RoboJackets/robocup-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
26 lines (25 loc) · 836 Bytes
/
.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
---
BasedOnStyle: Google
DerivePointerAlignment: false
IndentWidth: 4
TabWidth: 4
UseTab: Never
AccessModifierOffset: -4
SpaceAfterCStyleCast: false
ColumnLimit: 100
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
# External Libraries
- Regex: '^<(Eigen|fmt|rclcpp|ament_index_cpp|builtin_interfaces|boost|gtest|Q(.*)|google|gtest|SDL|spdlog)(\/)?([A-Za-z0-9.\/-_])+>'
Priority: 2
# stdlib. These includes are all lowercase
- Regex: '^<([a-z0-9\/-_])+>'
Priority: 1
# Project headers from other modules' .hpp. These should be prefixed with rj.
- Regex: '^<([A-Za-z0-9.\/-_])+>'
Priority: 3
# Project headers from this module's .hpp. These should also be prefixed with rj.
- Regex: '^"([A-Za-z0-9.\/-_])+"'
Priority: 4
...