diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2025-01-17 14:22:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 14:22:40 -0500 |
commit | bbd871e2baad2e74dbde202823b3439d2a96d3f8 (patch) | |
tree | 2617dd0832ba65d8c35f21630be3bedb3b3335f6 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 2dc5682dacab2dbb52a771746fdede0e938fc6e9 (diff) | |
download | llvm-bbd871e2baad2e74dbde202823b3439d2a96d3f8.zip llvm-bbd871e2baad2e74dbde202823b3439d2a96d3f8.tar.gz llvm-bbd871e2baad2e74dbde202823b3439d2a96d3f8.tar.bz2 |
[libc++] Don't implement <stdatomic.h> before C++23 (#123130)
https://github.com/llvm/llvm-project/pull/95498 implemented a libc++
extension where <stdatomic.h> would forward to <atomic> even before
C++23. Unfortunately, this was found to be a breaking change (with
fairly widespread impact) since that changes whether _Atomic(T) is a C
style atomic or std::atomic<T>. In principle, this can even be an ABI
break.
We generally don't implement extensions in libc++ because they cause so
many problems, and that extension had been accepted because it was
deemed pretty small and only a quality of life improvement. Since it has
widespread impact on valid C++20 (and before) code, this patch removes
the extension before we ship it in any public release.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions