Prepare for ObjectiveC/ObjectiveC++ code

This commit modifies the clang-format configuration and workflow to support ObjectiveC and ObjectiveC++ code.

Signed-off-by: Anselm Busse <anselm.busse@outlook.com>
This commit is contained in:
Anselm Busse 2022-02-24 20:58:24 +01:00
parent a4fa42fa96
commit df3e7c5ca1
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ BraceWrapping:
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterUnion: false
BeforeCatch: true
BeforeElse: true

View File

@ -22,7 +22,7 @@ jobs:
uses: DoozyX/clang-format-lint-action@v0.13
with:
source: './sunshine'
extensions: 'cpp,h'
extensions: 'cpp,h,m,mm'
clangFormatVersion: 13
style: file
inplace: ${{ matrix.inplace }}