> This is still only producing a warning if 'typename' is followed by
> something which isn't a type name in MS mode. We should reject this:
>
> int n; int k = typename n;

Thanks for the review. I've updated the patch to only issue the
warning if an annotated typename was parsed, otherwise it defaults to
the error case. I've also updated the MS test cases. See what you
think...

- Will.

Attachment: unecessary_typename_msext.diff
Description: Binary data

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

Reply via email to