philnik777 wrote:

> I'm personally sympathetic, and would be ok with something that we know MSVC 
> won't step on (`__clang_msvc__` would be fine to me). As far as the 
> `no_unique_address`, I THINK we already get the double-underscore spelling of 
> that, don't we? I don't think we exclude the MSVC spellings from that.

AFAICT you're only allowed to \_\_uglify\_\_ attributes with no namespace, 
`clang`, or `gnu`. At least clang 18 rejects `msvc::__no_unique_address__` with 
a warning: https://godbolt.org/z/zq89ssnh1

https://github.com/llvm/llvm-project/pull/113765
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to