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:
committed by
Jonas Holzman
parent
9dfb49d16b
commit
01e96b3422
@@ -46,7 +46,9 @@ Checks: >
|
|||||||
-modernize-loop-convert,
|
-modernize-loop-convert,
|
||||||
-modernize-pass-by-value,
|
-modernize-pass-by-value,
|
||||||
-modernize-raw-string-literal,
|
-modernize-raw-string-literal,
|
||||||
-modernize-return-braced-init-list
|
-modernize-return-braced-init-list,
|
||||||
|
|
||||||
|
objc-*
|
||||||
|
|
||||||
CheckOptions:
|
CheckOptions:
|
||||||
- key: modernize-use-default-member-init.UseAssignment
|
- key: modernize-use-default-member-init.UseAssignment
|
||||||
|
|||||||
Reference in New Issue
Block a user