Now with patch!

On 14 January 2013 14:52, Nick Lewycky <[email protected]> wrote:

> This patch adds the -reverse-order flag which reverses the order of
> evaluation of simple (non-complex non-aggregate) assignment expressions
> (eg., "a() = b();" where a() returns int& and b() returns int). The idea is
> to provide a debugging tool that we can use to identify bugs in user code
> caused by order of evaluation problems. As a starting point, I've only
> reversed one such evaluation (one that causes me much grief), but I'd also
> like to change the order of function parameter evaluation. Others may be
> added on an as-needed basis.
>
> Patch attached, please review!
>
> Nick
>
>

Attachment: clang-reverse-order-1.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to