-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.clang-tidy
More file actions
41 lines (41 loc) · 1.79 KB
/
.clang-tidy
File metadata and controls
41 lines (41 loc) · 1.79 KB
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
---
# Clang-tidy configuration for ROS 2 Medkit Gateway
# ROS 2 uses snake_case convention for methods/functions, so we disable
# identifier-naming rules that would conflict with ROS 2 style guidelines.
Checks: '-*,
performance-*,
-performance-enum-size,
llvm-namespace-comment,
modernize-redundant-void-arg,
modernize-use-nullptr,
modernize-use-default,
modernize-use-override,
modernize-loop-convert,
modernize-make-shared,
modernize-make-unique,
modernize-avoid-bind,
misc-unused-parameters,
readability-braces-around-statements,
readability-named-parameter,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-simplify-boolean-expr,
readability-container-size-empty,
readability-static-definition-in-anonymous-namespace,
bugprone-dangling-handle,
bugprone-exception-escape,
bugprone-use-after-move,
cppcoreguidelines-special-member-functions,
'
HeaderFilterRegex: ''
CheckOptions:
- key: llvm-namespace-comment.ShortNamespaceLines
value: '10'
- key: llvm-namespace-comment.SpacesBeforeComments
value: '2'
- key: misc-unused-parameters.StrictMode
value: '1'
- key: readability-braces-around-statements.ShortStatementLines
value: '2'
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: '1'