efriedma added a comment.

At first glance, this seems like the wrong place to put this cast.  If an 
expression in the AST produces a pointer with generic pointer type, then 
CodeGen should generate code for that expression that returns a generic pointer 
type.  We shouldn't wait until the pointer is used to force a cast to the 
correct type.


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

https://reviews.llvm.org/D150746

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

Reply via email to