[libc++] Add XFAIL for Clang ToT with modules
This is what I should have done instead of 6afd6e96ce
.
This commit is contained in:
parent
693251fb2f
commit
74fb868942
|
@ -178,9 +178,6 @@ public:
|
||||||
|
|
||||||
_LIBCPP_UNREACHABLE();
|
_LIBCPP_UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove this workaround for broken Clang modules.
|
|
||||||
using __function_like::operator&;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inline constexpr auto advance = __advance_fn(__function_like::__tag());
|
inline constexpr auto advance = __advance_fn(__function_like::__tag());
|
||||||
|
|
|
@ -68,9 +68,6 @@ struct __next_fn final : private __function_like {
|
||||||
ranges::advance(__x, __n, __bound);
|
ranges::advance(__x, __n, __bound);
|
||||||
return __x;
|
return __x;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove this workaround for broken Clang modules.
|
|
||||||
using __function_like::operator&;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inline constexpr auto next = __next_fn(__function_like::__tag());
|
inline constexpr auto next = __next_fn(__function_like::__tag());
|
||||||
|
|
|
@ -61,9 +61,6 @@ struct __prev_fn final : private __function_like {
|
||||||
ranges::advance(__x, -__n, __bound);
|
ranges::advance(__x, -__n, __bound);
|
||||||
return __x;
|
return __x;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove this workaround for broken Clang modules.
|
|
||||||
using __function_like::operator&;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inline constexpr auto prev = __prev_fn(__function_like::__tag());
|
inline constexpr auto prev = __prev_fn(__function_like::__tag());
|
||||||
|
|
|
@ -9,8 +9,12 @@
|
||||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||||
// UNSUPPORTED: libcpp-no-concepts
|
// UNSUPPORTED: libcpp-no-concepts
|
||||||
// UNSUPPORTED: gcc-10
|
// UNSUPPORTED: gcc-10
|
||||||
|
|
||||||
|
// Clang has a bug when modules are enabled that causes `__function_like::operator&`
|
||||||
|
// not to be picked up by the derived class.
|
||||||
// XFAIL: clang-11 && modules-build
|
// XFAIL: clang-11 && modules-build
|
||||||
// XFAIL: clang-12 && modules-build
|
// XFAIL: clang-12 && modules-build
|
||||||
|
// XFAIL: clang-13 && modules-build
|
||||||
|
|
||||||
// ranges::advance
|
// ranges::advance
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,12 @@
|
||||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||||
// UNSUPPORTED: libcpp-no-concepts
|
// UNSUPPORTED: libcpp-no-concepts
|
||||||
// UNSUPPORTED: gcc-10
|
// UNSUPPORTED: gcc-10
|
||||||
|
|
||||||
|
// Clang has a bug when modules are enabled that causes `__function_like::operator&`
|
||||||
|
// not to be picked up by the derived class.
|
||||||
// XFAIL: clang-11 && modules-build
|
// XFAIL: clang-11 && modules-build
|
||||||
// XFAIL: clang-12 && modules-build
|
// XFAIL: clang-12 && modules-build
|
||||||
|
// XFAIL: clang-13 && modules-build
|
||||||
|
|
||||||
// ranges::next
|
// ranges::next
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,12 @@
|
||||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||||
// UNSUPPORTED: libcpp-no-concepts
|
// UNSUPPORTED: libcpp-no-concepts
|
||||||
// UNSUPPORTED: gcc-10
|
// UNSUPPORTED: gcc-10
|
||||||
|
|
||||||
|
// Clang has a bug when modules are enabled that causes `__function_like::operator&`
|
||||||
|
// not to be picked up by the derived class.
|
||||||
// XFAIL: clang-11 && modules-build
|
// XFAIL: clang-11 && modules-build
|
||||||
// XFAIL: clang-12 && modules-build
|
// XFAIL: clang-12 && modules-build
|
||||||
|
// XFAIL: clang-13 && modules-build
|
||||||
|
|
||||||
// ranges::prev
|
// ranges::prev
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue