[PATCH] D58966: [libc++] Fix <atomic> failures on GCC

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 07:35:37 PST 2019


ldionne created this revision.
ldionne added a reviewer: EricWF.
Herald added a reviewer: jfb.
Herald added subscribers: cfe-commits, jdoerfert, jfb, dexonsmith, jkorous, christof.
Herald added a project: clang.

In https://reviews.llvm.org/D58201, we turned memory_order into an enum
class in C++20 mode. However, we were not casting memory_order to its
underlying type correctly for the GCC implementation, which broke the
build bots. I also fixed a test that was failing in C++17 mode on GCC 5.


Repository:
  rC Clang

https://reviews.llvm.org/D58966

Files:
  libcxx/include/atomic
  libcxx/test/std/atomics/atomics.lockfree/isalwayslockfree.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58966.189320.patch
Type: text/x-patch
Size: 28310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190305/f478c920/attachment-0001.bin>


More information about the cfe-commits mailing list