Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/x4/alloy_wrong_substitute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace iris::alloy {
template<>
struct adaptor<A>
{
using getters_list = make_getters_list<
using getters_list = iris::constant_list<
&A::foo,
&A::bar
>;
Expand All @@ -36,7 +36,7 @@ struct adaptor<A>
template<>
struct adaptor<B>
{
using getters_list = make_getters_list<
using getters_list = iris::constant_list<
&B::hoge,
&B::fuga
>;
Expand Down
10 changes: 6 additions & 4 deletions test/x4/alternative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ struct di_include
};

template<>
struct alloy::adaptor<di_ignore> {
using getters_list = make_getters_list<&di_ignore::text>;
struct alloy::adaptor<di_ignore>
{
using getters_list = iris::constant_list<&di_ignore::text>;
};

template<>
struct alloy::adaptor<di_include> {
using getters_list = make_getters_list<&di_include::FileName>;
struct alloy::adaptor<di_include>
{
using getters_list = iris::constant_list<&di_include::FileName>;
};

struct undefined {};
Expand Down
5 changes: 3 additions & 2 deletions test/x4/optional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ struct adata
};

template<>
struct alloy::adaptor<adata> {
using getters_list = make_getters_list<&adata::a, &adata::b>;
struct alloy::adaptor<adata>
{
using getters_list = iris::constant_list<&adata::a, &adata::b>;
};

namespace {
Expand Down
5 changes: 3 additions & 2 deletions test/x4/rule3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ struct recursive_tuple
};

template<>
struct alloy::adaptor<recursive_tuple> {
using getters_list = make_getters_list<&recursive_tuple::value, &recursive_tuple::children>;
struct alloy::adaptor<recursive_tuple>
{
using getters_list = iris::constant_list<&recursive_tuple::value, &recursive_tuple::children>;
};

// regression test for #461
Expand Down
5 changes: 3 additions & 2 deletions test/x4/symbols3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ struct roman
};

template<>
struct alloy::adaptor<roman> {
using getters_list = make_getters_list<&roman::a, &roman::b, &roman::c>;
struct alloy::adaptor<roman>
{
using getters_list = iris::constant_list<&roman::a, &roman::b, &roman::c>;
};

namespace {
Expand Down
Loading