[libcxx-commits] [libcxx] 43a6d28 - [libc++] NFC: Reuse the TEST_CONCAT macro instead of reimplementing one
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 24 12:28:44 PDT 2020
Author: Louis Dionne
Date: 2020-03-24T15:28:18-04:00
New Revision: 43a6d285bfead762ac472a6e62beedc9f88bce89
URL: https://github.com/llvm/llvm-project/commit/43a6d285bfead762ac472a6e62beedc9f88bce89
DIFF: https://github.com/llvm/llvm-project/commit/43a6d285bfead762ac472a6e62beedc9f88bce89.diff
LOG: [libc++] NFC: Reuse the TEST_CONCAT macro instead of reimplementing one
Added:
Modified:
libcxx/test/support/filesystem_test_helper.h
Removed:
################################################################################
diff --git a/libcxx/test/support/filesystem_test_helper.h b/libcxx/test/support/filesystem_test_helper.h
index 8cefd985026b..8161820d05da 100644
--- a/libcxx/test/support/filesystem_test_helper.h
+++ b/libcxx/test/support/filesystem_test_helper.h
@@ -305,9 +305,7 @@ struct scoped_test_env
// 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;
More information about the libcxx-commits
mailing list