[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:24:57 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc97cb11efdfa: [libc] Relocate the closing directive of #ifdef (authored by hedingarcia).

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.359107.patch
Type: text/x-patch
Size: 727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210715/bf0e983a/attachment.bin>


More information about the libc-commits mailing list