[PATCH] D122874: [clang] Add GNU spelling for no_unqiue_address attribute
Louis Dionne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 11 08:17:24 PDT 2022
ldionne added a comment.
I actually think that `[[no_unique_address]]` and `__attribute__((no_unique_address))` should be equivalent. Similarly, we should be able to do `[[msvc::no_unique_address]]` and `__attribute__((msvc::no_unique_address))`, and both should be equivalent. Which one we pick for use in libc++ is a different issue, and we do it through a macro anyway so that we could easily change it in the future if we wanted.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122874/new/
https://reviews.llvm.org/D122874
More information about the cfe-commits
mailing list