mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user