macOS: Enable clang-tidy Objective-C checks

This commit improves macOS Objective-C code linting and developer
experience by enabling clang-tidy Objective-C checks. The full list
of objc-* checks can be found here:

https://clang.llvm.org/extra/clang-tidy/checks/list.html

As these checks are pretty simple and non-invasive, they have all
been kept enabled. Currently, enabling this series of checks does
not introduce any new clang-tidy warnings in the current Objective-C
code.

Pull Request: https://projects.blender.org/blender/blender/pulls/128334
This commit is contained in:
Jonas Holzman
2024-10-01 14:13:40 +02:00
committed by Jonas Holzman
parent 9dfb49d16b
commit 01e96b3422

View File

@@ -46,7 +46,9 @@ Checks: >
-modernize-loop-convert,
-modernize-pass-by-value,
-modernize-raw-string-literal,
-modernize-return-braced-init-list
-modernize-return-braced-init-list,
objc-*
CheckOptions:
- key: modernize-use-default-member-init.UseAssignment