commit | 018402394dac66475e0a0af2dc7d569d9c2c5216 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Tue Mar 05 15:49:58 2019 +0000 |
committer | Louis Dionne <ldionne@apple.com> | Tue Mar 05 15:49:58 2019 +0000 |
tree | b628e7ae664ee59ca4270a19003c138cedc3896b | |
parent | 1bf0d1eb64b96f362fa1fed7d4004fedc033129d [diff] |
[libc++] Fix <atomic> failures on GCC Summary: 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. Reviewers: EricWF, jfb, mclow.lists Subscribers: zoecarver Differential Revision: https://reviews.llvm.org/D58966 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@355409 91177308-0d34-0410-b5e6-96231b3b80d8