Some more information about the fixes that should have been in the commit
log:

+  verifyFormat("a-- > b;");
>

With the patch we now understand (a subset of) post-increment and
post-decrement operators (we check whether the previous token is an
identifier). That this did not crop up before is probably a good sign :-).


> +  verifyFormat("b ? -a : c;");
>

Now "+" and "-" after "?" or ":" are always considered unary operators.


> +  verifyFormat("n * sizeof char16;");
>

the sizeof keyword is now handled similar to a literal, i.e. it helps
identifying the "*" as a binary operator.


> +  verifyFormat("sizeof(char);");
>

We now explicitly exclude sizeof and typeof as keywords that require a
space before the "(".

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

Reply via email to