[cfe-commits] [PATCH] Allow typedef with unnecessary "typename" when ms-extensions are enabled.
Will Wilson
will at indefiant.com
Sat May 12 07:18:15 PDT 2012
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unecessary_typename_msext.diff
Type: application/octet-stream
Size: 4053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120512/f609bfa5/attachment.obj>
More information about the cfe-commits
mailing list