Open ClausKlein opened 2 years ago
this is my .clang-tidy
config file:
---
# LLVM version 13.0.0
Checks:
'-*,
bugprone-*,
cert-*,
-cert-err58-cpp,
clang-diagnostic-*,
clang-analyzer-*,
hicpp-*,
hicpp-avoid-*,
-hicpp-no-array-decay,
hicpp-signed-bitwise,
hicpp-special-member-functions,
hicpp-use-*,
hicpp-vararg,
misc-*,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-unused-parameters,
modernize-*,
-modernize-return-braced-init-list,
-modernize-use-trailing-return-type,
performance-*,
portability-*,
-readability-*,
-readability-else-after-return,
-readability-identifier-naming,
-readability-inconsistent-declaration-parameter-name,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-redundant-member-init,
-readability-uppercase-literal-suffix,
-hicpp-avoid-c-arrays,-modernize-avoid-c-arrays,
-hicpp-named-parameter,-readability-named-parameter,
-hicpp-braces-around-statements,-readability-braces-around-statements,
-hicpp-use-override,-modernize-use-override,
-hicpp-use-equals-default,-modernize-use-equals-default,
'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: file
UseColor: false
User: klein_cl
CheckOptions:
- { key: modernize-loop-convert.MaxCopySize, value: '16' }
- { key: modernize-loop-convert.MinConfidence, value: reasonable }
- { key: modernize-loop-convert.NamingStyle, value: CamelCase }
- { key: modernize-pass-by-value.IncludeStyle, value: llvm }
- { key: modernize-replace-auto-ptr.IncludeStyle, value: llvm }
- { key: modernize-use-nullptr.NullMacros, value: 'NULL' }
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.MemberCase, value: CamelCase }
- { key: readability-identifier-naming.MemberPrefix, value: m }
- { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
- { key: readability-identifier-naming.StructCase, value: camel_Snake_Back }
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.VariableCase, value: camelBack }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.EnumPrefix, value: 'E' }
- { key: readability-identifier-naming.GlobalFunctionCase, value: lower_case }
- { key: readability-identifier-naming.GlobalVariableCase, value: CamelCase }
- { key: readability-identifier-naming.GlobalVariablePrefix, value: 'g' }
- { key: readability-identifier-naming.ConstexprFunctionCase, value: CamelCase }
- { key: readability-identifier-naming.ConstexprMethodCase, value: CamelCase }
- { key: readability-identifier-naming.ConstexprVariableCase, value: camelBack }
...
Hi @ClausKlein,
Sorry for the delay in responding to this issue.
Some of the lints are directly relevant to code in this repo, which we'll look into fixing. Most are related to https://github.com/zeroc-ice/ice. It would be best to open a separate issue there and we can look into fixing these in the next major release.
I am evaluating the zeros-ice framework with c++11 enabled mapping on OSX. I use the current ice version v3.7 and check with
clang-tidy
tools the generated code quality.To do this, I use this
GNUmakefile
:This is the result: