mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Omit the readability-isolate-declaration [1] check that warns about multiple declarations in one line as the s390-tools coding style prefers this approach. [1] https://clang.llvm.org/extra/clang-tidy/checks/readability/isolate-declaration.html Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
Checks: >
|
|
bugprone-*,
|
|
clang-analyzer-*,
|
|
misc-*,
|
|
performance-*,
|
|
portability-*,
|
|
readability-*,
|
|
-bugprone-easily-swappable-parameters,
|
|
-misc-include-cleaner,
|
|
-readability-braces-around-statements,
|
|
-readability-identifier-length,
|
|
-readability-isolate-declaration,
|
|
-modernize-*,
|
|
-performance-*,
|
|
-portability-*,
|
|
-readability-implicit-bool-conversion
|
|
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.StructCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.EnumConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.MacroDefinitionCase
|
|
value: UPPER_CASE
|
|
- key: bugprone-sizeof-expression.WarnOnSizeOfPointer
|
|
value: true
|
|
- key: misc-unused-parameters.StrictMode
|
|
value: true
|
|
|
|
FormatStyle: file
|
|
UseColor: true
|