[libc++] Prepare string tests for constexpr
These are the last™ changes to the tests for constexpr preparation. Reviewed By: Quuxplusone, #libc, Mordante Spies: Mordante, EricWF, libcxx-commits Differential Revision: https://reviews.llvm.org/D120951
This commit is contained in:
1 parent
1bcc28b884
commit
85e9b2687a
22 files changed
+61
-57
No files matched your search
@@ -21,7 +21,7 @@
|
||||
#include "min_allocator.h"
|
||||
|
||||
template <class charT>
|
||||
void
|
||||
TEST_CONSTEXPR_CXX20 void
|
||||
test(std::basic_string_view<charT> sv)
|
||||
{
|
||||
typedef std::basic_string<charT, std::char_traits<charT>, test_allocator<charT> > S;
|
||||
@@ -47,7 +47,7 @@ test(std::basic_string_view<charT> sv)
|
||||
}
|
||||
|
||||
template <class charT, class A>
|
||||
void
|
||||
TEST_CONSTEXPR_CXX20 void
|
||||
test(std::basic_string_view<charT> sv, const A& a)
|
||||
{
|
||||
typedef std::basic_string<charT, std::char_traits<charT>, A> S;
|
||||
|
||||
Reference in new issue
Block a user