Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
739 stars 185 forks source link

refactor: Apply clang format for native code #852

Closed karasusan closed 1 year ago

karasusan commented 1 year ago

Use clang-format command to define code style of native code (C/C++). And add a CI job for checking code style each pull requests.

Currently clang-format version is 11, you can install the command brew install clang-format@11, sudo apt install clang-format-11 or choco install llvm on each platform.