efriedma-quic wrote:

> So this applies to types, but differently named structs with identical 
> contents aren't considered equal

Yes, this is computing equivalence using C "compatible type" rules (which say 
that the name of the struct is significant, but the name of a typedef is not).  
The big advantage of this form of equivalence is that we can use the existing 
implementation. :)

https://github.com/llvm/llvm-project/pull/195550
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to