Open kambala-decapitator opened 5 years ago
clang-format works with Objective-C files?
yes, that's what the first paragraph is for :)
Ok ;-) I will do it on the PR branch. Thank you
For the PR, any new files the clang changes should be made in the commit they are added, any existing files, do it a separate clang-format commit
Have started this on https://github.com/fuzzard/xbmc/commits/master_darwin-embedded-ATV Have run clang-format on xbmc/windowing/tvos/ and xbmc/platform/darwin/tvos/
Will still need to run across any code we touch in other "generic" source files.
but it doesn't work out of the box. To fix, comment line
Language: Cpp
in.clang-format
. The actual run command:clang-format -i <files>
Probably the easiest is to install clang-format via Homebrew:
brew install clang-format