xbolva00 added a comment. I have not found a way yet since EvaluateForOverflow returns nothing so I don't know how to check whether there was overflow or not.
Uploaded alternative patch which passes test suite and has no double warning issue. https://reviews.llvm.org/D52750 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits