efriedma-quic wrote:

It's generally not a good idea to use sugar to represent constructs that are 
semantically significant: anything that uses the canonical type will throw it 
away.  We try to avoid throwing away sugar in most cases, but we aren't always 
successful.

It's possible there are other considerations here (maybe it matters less if the 
attribute is only relevant inside the definition?), but I'd like an explanation 
of the tradeoffs.

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

Reply via email to