15 Commits

Author SHA1 Message Date
elsid
c6f381f1c4
Ignore readability-identifier-naming for boost::program_options namespace alias 2025-07-27 12:21:13 +02:00
elsid
c5d74818eb
Disable portability-template-virtual-member-function clang tidy warning
There is no compatibility problem in practice.

/home/elsid/dev/openmw/components/settings/sanitizer.hpp:11:19: error: unspecified virtual member function instantiation; the virtual member function is not instantiated but it might be with a different compiler [portability-template-virtual-member-function,-warnings-as-errors]
   11 |         virtual T apply(const T& value) const = 0;
      |                   ^
/home/elsid/dev/openmw/components/settings/sanitizerimpl.cpp:20:28: note: template instantiated here
   20 |         struct Max final : Sanitizer<T>
      |                            ^
2025-07-27 11:30:07 +02:00
elsid
28851411a3
Fix and enforce namespace naming 2025-07-20 21:19:16 +02:00
elsid
84f471ce5c
Enable identifier naming clang-tidy check 2025-04-13 09:59:51 +02:00
elsid
7254bb74a4
Enable modernize-avoid-bind clang-tidy check 2025-04-05 12:55:18 +02:00
elsid
3af2091b28
Use prefix with dot for clang-analyzer-optin. checks 2025-04-05 12:55:18 +02:00
elsid
621a0a15a3
Disable clang-analyzer-cplusplus.NewDelete clang-tidy check 2025-04-05 12:55:18 +02:00
elsid
c34b0f90d7
Avoid clang-tidy checks duplication 2025-04-05 12:55:17 +02:00
elsid
da388c93eb
Remove boost-* clang-tidy checks
There are only:
* https://clang.llvm.org/extra/clang-tidy/checks/boost/use-ranges.html
* https://clang.llvm.org/extra/clang-tidy/checks/boost/use-to-string.html

None of them makes sense in this project.
2025-04-05 12:55:17 +02:00
elsid
d609bd1ab1
Fix clang-tidy header filter 2025-04-05 12:55:17 +02:00
smilczek
8cf431aeb2 Added a missing comma 2023-05-16 21:06:18 +02:00
smilczek
f27dfd3f57 Added modernize-avoid-bind to .clang-tidy 2023-05-16 20:57:34 +02:00
jvoisin
24eb1165fc Fix .clang-format and .clang-tidy
- `AlwaysBreakTemplateDeclarations` is a ternary, no a boolean.
- `WarningsAsErrors` is the list of checks that should be treated as errors,
  not a boolean.
2023-04-29 14:36:35 +02:00
jvoisin
810f1e2c04 Enable clang-analyser in clang-tidy 2022-09-25 13:37:59 +00:00
Project579
c3e2f84273 Fix clang-tidy on CI and introduce .clang-tidy file 2022-07-13 00:38:24 +00:00