[libc++] NFC: Reuse the TEST_CONCAT macro instead of reimplementing one

This commit is contained in:
Louis Dionne 2020-03-24 15:28:03 -04:00
parent 0ccc4de42e
commit 43a6d285bf
1 changed files with 1 additions and 3 deletions

View File

@ -305,9 +305,7 @@ private:
// Misc test types
#define CONCAT2(LHS, RHS) LHS##RHS
#define CONCAT(LHS, RHS) CONCAT2(LHS, RHS)
#define MKSTR(Str) {Str, CONCAT(L, Str), CONCAT(u, Str), CONCAT(U, Str)}
#define MKSTR(Str) {Str, TEST_CONCAT(L, Str), TEST_CONCAT(u, Str), TEST_CONCAT(U, Str)}
struct MultiStringType {
const char* s;