On 09/12/2014 04:52 PM, Marek Polacek wrote:
+ protected_set_expr_location (postfix_expression, loc);
Let's use the location of the (, which should just be token->location at this point. So column 17 instead of 13 in the new test. OK with that change.
In some cases postfix_expression won't be a CALL_EXPR at this point; it might be a TARGET_EXPR or an INDIRECT_REF. But I suppose setting the location on whatever it happens to be will work well enough for now.
Jason