Skip to content

Commit b4b1fc8

Browse files
committed
Some tweaks
1 parent 41530a7 commit b4b1fc8

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/clang-format-check.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ env:
55

66
on:
77
push:
8+
tags-ignore:
9+
- '*.*.*'
10+
- 'v*.*.*'
11+
branches:
12+
- '*'
813
paths:
14+
- '*'
915
- '**.ino'
1016
- '**.cpp'
1117
- '**.hpp'
@@ -33,12 +39,15 @@ jobs:
3339
strategy:
3440
matrix:
3541
path:
42+
#- check: './' # path to include
43+
# exclude: '' # path to exclude
3644
- check: 'src'
3745
exclude: '^.*[\/](optional|expected)\.(hpp)$'
3846
- check: 'test'
39-
exclude: ''
40-
- check: 'examples'
41-
exclude: ''
47+
#- check: 'examples'
48+
# exclude: '(Fonts)' # Exclude file paths containing "Fonts"
49+
#- check: 'examples'
50+
# exclude: ''
4251

4352
steps:
4453
- name: Checkout
@@ -53,4 +62,3 @@ jobs:
5362
check-path: ${{ matrix.path['check'] }}
5463
exclude-regex: ${{ matrix.path['exclude'] }}
5564
include-regex: ${{ env.INCLUDE_REGEX }}
56-

test/expected/issues.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,10 @@ struct move_tracker {
195195
{
196196
}
197197

198-
move_tracker &operator=(move_tracker const &other) noexcept {};
198+
move_tracker &operator=(move_tracker const &other) noexcept
199+
{
200+
return *this;
201+
}
199202

200203
move_tracker &operator=(move_tracker &&orig) noexcept
201204
{

0 commit comments

Comments
 (0)