mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
$ run-clang-tidy.py -header-filter='.*' -checks='modernize-use-using' -fix add .clang-tidy file
39 lines
1.5 KiB
YAML
39 lines
1.5 KiB
YAML
---
|
|
Checks: '-*,
|
|
modernize-use-using,
|
|
'
|
|
HeaderFilterRegex: '.*/moveit/task_constructor/.*\.h'
|
|
AnalyzeTemporaryDtors: false
|
|
CheckOptions:
|
|
- key: llvm-namespace-comment.ShortNamespaceLines
|
|
value: '10'
|
|
- key: llvm-namespace-comment.SpacesBeforeComments
|
|
value: '2'
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
value: '2'
|
|
# type names
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.UnionCase
|
|
value: CamelCase
|
|
# method names
|
|
- key: readability-identifier-naming.MethodCase
|
|
value: camelBack
|
|
# variable names
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.ClassMemberSuffix
|
|
value: '_'
|
|
# const static or global variables are UPPER_CASE
|
|
- key: readability-identifier-naming.EnumConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.StaticConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.ClassConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.GlobalVariableCase
|
|
value: UPPER_CASE
|
|
...
|