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
2 changed files with 2 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ BraceWrapping:
|
||||||
AfterEnum: false
|
AfterEnum: false
|
||||||
AfterFunction: false
|
AfterFunction: false
|
||||||
AfterNamespace: false
|
AfterNamespace: false
|
||||||
|
AfterObjCDeclaration: false
|
||||||
AfterUnion: false
|
AfterUnion: false
|
||||||
BeforeCatch: true
|
BeforeCatch: true
|
||||||
BeforeElse: 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
|
uses: DoozyX/clang-format-lint-action@v0.13
|
||||||
with:
|
with:
|
||||||
source: './sunshine'
|
source: './sunshine'
|
||||||
extensions: 'cpp,h'
|
extensions: 'cpp,h,m,mm'
|
||||||
clangFormatVersion: 13
|
clangFormatVersion: 13
|
||||||
style: file
|
style: file
|
||||||
inplace: ${{ matrix.inplace }}
|
inplace: ${{ matrix.inplace }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue