2022-08-16 06:00:44 +02:00
|
|
|
# Written for clang-tidy 14.
|
2022-03-18 14:34:27 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
Checks: '*,
|
|
|
|
-cppcoreguidelines-non-private-member-variables-in-classes,
|
|
|
|
-fuchsia-default-arguments-calls,
|
|
|
|
-fuchsia-default-arguments-declarations,
|
|
|
|
-fuchsia-default-arguments,
|
|
|
|
-llvm-include-order,
|
|
|
|
-llvm-header-guard,
|
|
|
|
-misc-non-private-member-variables-in-classes,
|
|
|
|
-fuchsia-overloaded-operator,
|
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
|
|
-readability-magic-numbers,
|
|
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
|
|
-hicpp-no-array-decay,
|
|
|
|
-modernize-avoid-c-arrays,
|
|
|
|
-cppcoreguidelines-avoid-c-arrays,
|
|
|
|
-hicpp-avoid-c-arrays,
|
|
|
|
-google-build-using-namespace,
|
|
|
|
-readability-named-parameter,
|
|
|
|
-google-runtime-references,
|
|
|
|
-hicpp-avoid-goto,
|
|
|
|
-hicpp-vararg,
|
|
|
|
-fuchsia-statically-constructed-objects,
|
|
|
|
-google-readability-todo,
|
|
|
|
-modernize-use-trailing-return-type,
|
|
|
|
-fuchsia-multiple-inheritance,
|
|
|
|
-llvmlibc*,
|
|
|
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
|
|
|
-cert-*-c,
|
|
|
|
-abseil-string-find-*,
|
2022-08-16 06:00:44 +02:00
|
|
|
-altera-*'
|
2022-03-18 14:34:27 +01:00
|
|
|
FormatStyle: file # Use .clang-format.
|
|
|
|
CheckOptions: # ↓ Clashes with static private member prefix. (static int _var;) ↓
|
|
|
|
- { key: readability-identifier-naming.VariableCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.MemberCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.PrivateMemberCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.PrivateMemberPrefix, value: _ }
|
|
|
|
- { key: readability-identifier-naming.ProtectedMemberCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.ProtectedMemberPrefix, value: _ }
|
|
|
|
|
|
|
|
- { key: readability-identifier-naming.ClassCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.StructCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.EnumCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
|
|
|
|
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
|
2022-08-19 01:39:18 +02:00
|
|
|
|
|
|
|
- { key: readability-identifier-length.MinimumVariableNameLength, value: 2 }
|
2022-03-18 14:34:27 +01:00
|
|
|
...
|
2022-08-16 06:00:44 +02:00
|
|
|
|
2022-08-19 01:39:18 +02:00
|
|
|
# -*- mode: yaml; fill-column: 100; -*-
|
|
|
|
# vim: set fenc=utf-8 tw=100 et ft=yaml:
|