cor3ntin wrote: > No special handling of [[msvc::no_unique_address]] is performed, so it should > follow [[no_unique_address]] behavior.
I do not think the code does that. And we should test what it does. At the very least, a type with msvc::no_unique_address should not be layout compatible with an equivalent declaration using no_unique_address. Whether two msvc::no_unique_address are layout compatible is less important, because the intent of msvc::no_unique_address is not documented and/or msvc does not implement CWG2759 https://github.com/llvm/llvm-project/pull/82607 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits