forked from OSchip/llvm-project
[libc++] NFC: Reuse the TEST_CONCAT macro instead of reimplementing one
This commit is contained in:
parent
0ccc4de42e
commit
43a6d285bf
|
@ -305,9 +305,7 @@ private:
|
||||||
|
|
||||||
// Misc test types
|
// Misc test types
|
||||||
|
|
||||||
#define CONCAT2(LHS, RHS) LHS##RHS
|
#define MKSTR(Str) {Str, TEST_CONCAT(L, Str), TEST_CONCAT(u, Str), TEST_CONCAT(U, Str)}
|
||||||
#define CONCAT(LHS, RHS) CONCAT2(LHS, RHS)
|
|
||||||
#define MKSTR(Str) {Str, CONCAT(L, Str), CONCAT(u, Str), CONCAT(U, Str)}
|
|
||||||
|
|
||||||
struct MultiStringType {
|
struct MultiStringType {
|
||||||
const char* s;
|
const char* s;
|
||||||
|
|
Loading…
Reference in New Issue