rjmccall added a comment.

I think it would be reasonable to set a flag on `ImplicitCastExpr`s that are 
actually semantically part of an explicit cast.  I don't think that would be 
hard to get Sema to do, either by passing a flag down to the code that builds 
those casts or just by retroactively setting that flag on all the ICE 
sub-expressions of an explicit cast when "capping" it with the 
`ExplicitCastExpr`.


Repository:
  rC Clang

https://reviews.llvm.org/D49508



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

Reply via email to