See #1771
We have the following new errors with clang-tidy 18:
For now the are disabled. We have decide if we want to fix them or keep them disabled
Some of the errors can be fixed by clang tidy automatically.
[bugprone-assignment-in-if-condition] 19
[bugprone-casting-through-void] 1
[bugprone-empty-catch] 9
[bugprone-optional-value-conversion] 2
[bugprone-reserved-identifier] 47
[bugprone-unchecked-optional-access] 1
[bugprone-unhandled-exception-at-new] 1
[clang-analyzer-core.NonNullParamChecker] 1
[clang-analyzer-cplusplus.NewDeleteLeaks] 1
[clang-analyzer-optin.core.EnumCastOutOfRange] 11
[misc-const-correctness] 1693
[modernize-macro-to-enum] 24
[performance-move-const-arg] 2
[performance-no-int-to-ptr] 6
[readability-avoid-nested-conditional-operator] 66
[readability-avoid-return-with-void-value] 9
[readability-redundant-casting] 15
[readability-suspicious-call-argument] 44
[readability-use-anyofallof] 30