diff options
author | Douglas <Douglas.Gliner@sony.com> | 2025-08-06 17:25:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 10:25:59 -0700 |
commit | ec138c7fa71d8b6d3894bc6d1c384a4cc3fa506e (patch) | |
tree | 66997fba1297b9e9409ea8a4db55dc819f8532c8 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | bb2642fab70fb4d59e431e01e319dcf6b90d88d8 (diff) | |
download | llvm-ec138c7fa71d8b6d3894bc6d1c384a4cc3fa506e.zip llvm-ec138c7fa71d8b6d3894bc6d1c384a4cc3fa506e.tar.gz llvm-ec138c7fa71d8b6d3894bc6d1c384a4cc3fa506e.tar.bz2 |
[OpenACC] Improve C++20 compatibility of private/firstprivate test (#152233)
Under C++17, `DeletedCopy` and `DefaultedCopy` in the test
`clang/test/SemaOpenACC/private_firstprivate_reduction_required_ops.cpp`
are eligible for aggregate initialization. Under C++20 and up, that is
no longer the case. Therefore, an explicit constructor must be declared
to avoid additional diagnostics which the test does not expect.
This test was failing in our downstream testing where our toolchain uses
C++20 as the default dialect.
See this reduced example for more details:
https://godbolt.org/z/46oErYT43
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions