[libc++] Adds a make_string test helper function.
authorMark de Wever <koraq@xs4all.nl>
Wed, 16 Dec 2020 08:43:14 +0000 (09:43 +0100)
committerMark de Wever <koraq@xs4all.nl>
Thu, 4 Feb 2021 16:16:44 +0000 (17:16 +0100)
commite275e629830fb2a776d724aef77e7e9e2e5ae931
tree31891672318dc84a8ab71759766910879f67a6e6
parentbc097f645e0d0a296221d7de275d2294b50b8820
[libc++] Adds a make_string test helper function.

These function makes it easier to write generic unit tests for the
format header. It solves the issue where it's not possible to use
  `templated_prefix"foo"`
where `templated_prefix` resolves to: nothing, `L`, `u8`, `u`,
or `U`. The templated_prefix would be more faster during execution.

Reviewed By: ldionne, #libc, curdeius

Differential Revision: https://reviews.llvm.org/D93414
libcxx/test/support/filesystem_test_helper.h
libcxx/test/support/make_string.h [new file with mode: 0644]
libcxx/test/support/test.support/make_string_header.pass.cpp [new file with mode: 0644]