rjmccall added a comment.

These were unavailable in system headers before because otherwise we would've 
had to make them invalid.  Since these unions are no longer otherwise invalid, 
there shouldn't be a problem with allowing them in system headers, and in fact 
making the semantics vary that way seems quite problematic.  Now, specific 
*uses* in system headers might still appear to be invalid — e.g. an ObjC ivar 
of type `union { __strong id x; }` — and the right behavior is definitely that 
those use sites should be marked as invalid instead of refusing to compile the 
system header.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65256/new/

https://reviews.llvm.org/D65256



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to