[libcxx-commits] [libcxx] becf155 - [libc++] Add comment in atomic test to explain why part of it is disabled on Apple

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 14 13:13:36 PDT 2020


Author: Louis Dionne
Date: 2020-09-14T16:13:25-04:00
New Revision: becf15527583380b510ce269ee51abd364551f13

URL: https://github.com/llvm/llvm-project/commit/becf15527583380b510ce269ee51abd364551f13
DIFF: https://github.com/llvm/llvm-project/commit/becf15527583380b510ce269ee51abd364551f13.diff

LOG: [libc++] Add comment in atomic test to explain why part of it is disabled on Apple

Added: 
    

Modified: 
    libcxx/test/std/atomics/types.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/atomics/types.pass.cpp b/libcxx/test/std/atomics/types.pass.cpp
index 5740b758035e..891bbbbd6d51 100644
--- a/libcxx/test/std/atomics/types.pass.cpp
+++ b/libcxx/test/std/atomics/types.pass.cpp
@@ -155,7 +155,7 @@ int main(int, char**)
 
     test<TriviallyCopyable>();
     test<PaddedTriviallyCopyable>();
-#ifndef __APPLE__
+#ifndef __APPLE__ // Apple doesn't ship libatomic
     /*
         These aren't going to be lock-free,
         so some libatomic.a is necessary.


        


More information about the libcxx-commits mailing list