https://github.com/erichkeane commented:

I'll have to think on this, but it doesn't quite do what I think it should do, 
which is to have an abstract/never instantiated 'RecordType' with a 
UnionType/StructType that inherit from it, and add what they need to.  For 
exmaple, `isStruct` and `isClass` should be a part of the StructType, but not 
the record type (as-is kind?), as `UnionType` encodes itself what it is, it 
doesn't need the 'is-union' checks.

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

Reply via email to