rjmccall added a comment.

I don't think it'll actually error out at link time: protocol objects get 
emitted eagerly on use, cross-module linking is just a code-size optimization.  
This actually has caused longstanding problems.

Anyway, I think it's fine to require forward declarations to have the attribute.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75574

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

Reply via email to