[PATCH] D110485: Support [[no_unique_address]] for all targets.

cqwrteur via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 29 10:12:11 PDT 2021


expnkx added a comment.

clang simply just does not truly support everything msvc supports. There are no things that deals [[msvc::]] attributes at all in the clang. In fact the point of using clang on windows is that we do not want to do the same as Microsoft does.

Support [[no_unique_address]] is nothing wrong tbh and that is what ISO C++ standard requires.

If we do not change, the Microsoft team won't wanna change either because they are afraid of breaking clang too.

I never understand why [[no_unique_address]] is a problem.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110485/new/

https://reviews.llvm.org/D110485



More information about the cfe-commits mailing list