mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-14 15:40:35 +00:00
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:
parent
a4fa42fa96
commit
df3e7c5ca1
@ -23,6 +23,7 @@ BraceWrapping:
|
||||
AfterEnum: false
|
||||
AfterFunction: false
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterUnion: false
|
||||
BeforeCatch: true
|
||||
BeforeElse: true
|
||||
|
2
.github/workflows/clang.yml
vendored
2
.github/workflows/clang.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user