QrczakMK wrote:
I think that if Clang chooses to support both variants of the type trait, it
should provide both variants of `[[clang::trivial_abi]]`, so that a type like
`std::unique_ptr` is trivially relocatable including assignment (and can be
annotated as such), while a type like `std::tup
QrczakMK wrote:
It would be great to see progress in this. Lack of detection of trivially
relocatable types costs extra memory allocations in my project, and I feel
uneasy carving a manual exception for `std::unique_ptr`.
https://github.com/llvm/llvm-project/pull/84621