[libcxx-commits] [PATCH] D127978: [libc++][test] Replaces TEST_IS_CONSTANT_EVALUATED.
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jun 18 05:21:46 PDT 2022
jloser added inline comments.
================
Comment at: libcxx/test/std/strings/string.view/string.view.comparison/not_equal.pass.cpp:58
- if (!TEST_IS_CONSTANT_EVALUATED || TEST_STD_VER >= 20) {
+ // fails in C++17
+ if (!is_constant_evaluated(TestedCppVersion::Cpp14) || TEST_STD_VER >= 20) {
----------------
Mordante wrote:
> I'll remove this comment before landing or the next upload whatever comes first.
That's interesting. Why does it fail in C++17 mode?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127978/new/
https://reviews.llvm.org/D127978
More information about the libcxx-commits
mailing list