xazax.hun added a comment.

Overall looks good to me, I wonder if the tests could be less manual though. 
E.g., instead of asserting true/false, checking if the assignment would 
compile. This way we can be sure that the method in ASTContext matches the 
behavior of the compiler (and we get notified when the two diverge). If we 
could extract the corresponding code from Sema, it would be even better, but I 
do not insist as that might be a lot of work depending on how it interacts with 
other conversions.


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

https://reviews.llvm.org/D135495

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

Reply via email to