[libcxx-commits] [PATCH] D126737: [libc++][test] Enable constexpr string comparison tests
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 1 09:59:13 PDT 2022
jloser added inline comments.
================
Comment at: libcxx/test/std/strings/string.view/string.view.comparison/equal.pass.cpp:10
// <string_view>
// template<class charT, class traits>
----------------
philnik wrote:
> jloser wrote:
> > philnik wrote:
> > > Pre-existing: These tests should only be enabled for libc++ pre-C++17.
> > I don't think so, since we backport `string_view` all the way back to C++03 as an extension.
> Sorry, my comment was a bit unclear: It should only be enabled //for libc++// pre-C++17. i.e. not for libstdc++, MSVC STL etc. I'm not 100% sure, but I think `// UNSUPPORTED: !stdlib=libc++ && (c++03 || c++11 || c++14)` should work.
I see. Yeah, I agree with that. That's a pre-existing thing though and I'd recommend we do that for all of the `string_view` tests. I'm happy to volunteer to do that as a follow-up if that works for you.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126737/new/
https://reviews.llvm.org/D126737
More information about the libcxx-commits
mailing list