Skip to content

Commit 57a29d1

Browse files
committed
Remove unused variable warning, rebuild gcc-10 and clang-12 results (whitespace diff)
Seems to be just line-ends
1 parent 177bb13 commit 57a29d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

regression-tests/pure2-ufcs-member-access-and-chaining.cpp2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ f: (_)->int = 0;
4646
y: int = 0.f();
4747

4848
mytype: type = {
49-
hun: (i: int) = { }
49+
hun: (_) = { }
5050
}

regression-tests/test-results/pure2-ufcs-member-access-and-chaining.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ using fun_ret = int;
3636
extern int y;
3737

3838
class mytype {
39-
public: static auto hun(cpp2::impl::in<int> i) -> void;
39+
public: static auto hun([[maybe_unused]] auto const& unnamed_param_1) -> void;
4040
public: mytype() = default;
4141
public: mytype(mytype const&) = delete; /* No 'that' constructor, suppress copy */
4242
public: auto operator=(mytype const&) -> void = delete;
@@ -103,5 +103,5 @@ auto no_return([[maybe_unused]] auto const& unnamed_param_1) -> void{}
103103
int y {CPP2_UFCS_NONLOCAL(f)(0)};
104104

105105
#line 49 "pure2-ufcs-member-access-and-chaining.cpp2"
106-
auto mytype::hun(cpp2::impl::in<int> i) -> void{}
106+
auto mytype::hun([[maybe_unused]] auto const& unnamed_param_1) -> void{}
107107

0 commit comments

Comments
 (0)