[libc-commits] [PATCH] D106087: [libc] Relocate the closing directive of #ifdef
Hedin GarcĂa via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Jul 15 13:06:10 PDT 2021
hedingarcia updated this revision to Diff 359099.
hedingarcia added a comment.
[libc] ran clang-format
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106087/new/
https://reviews.llvm.org/D106087
Files:
libc/utils/UnitTest/LibcTest.h
Index: libc/utils/UnitTest/LibcTest.h
===================================================================
--- libc/utils/UnitTest/LibcTest.h
+++ libc/utils/UnitTest/LibcTest.h
@@ -380,12 +380,12 @@
if (!EXPECT_DEATH(FUNC, EXIT)) \
return
+#endif // ENABLE_SUBPROCESS_TESTS
+
#define __CAT1(a, b) a##b
#define __CAT(a, b) __CAT1(a, b)
#define UNIQUE_VAR(prefix) __CAT(prefix, __LINE__)
-#endif // ENABLE_SUBPROCESS_TESTS
-
#define EXPECT_THAT(MATCH, MATCHER) \
do { \
auto UNIQUE_VAR(__matcher) = (MATCHER); \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106087.359099.patch
Type: text/x-patch
Size: 727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210715/ee1cb472/attachment.bin>
More information about the libc-commits
mailing list