aaron.ballman added a comment.

In https://reviews.llvm.org/D22910#601083, @Abpostelnicu wrote:

> Can someone please show me an example on how to write a test for this patch?


You could test this with anything that diagnoses side effects in an unevaluated 
context (look for `warn_side_effects_unevaluated_context` diagnostics), such as 
use as the operand to `sizeof`.


https://reviews.llvm.org/D22910



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

Reply via email to