On 15 May 2012 00:48, Richard Smith <[email protected]> wrote: > On Sat, May 12, 2012 at 7:18 AM, Will Wilson <[email protected]> wrote: >> >> > 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... > > > Thanks, I've committed this as r156786. I tweaked it slightly to only return > 'false' if we managed to produce a (type) annotation.
Thanks! I've also closed http://llvm.org/bugs/show_bug.cgi?id=12715 as fixed. Cheers, Will. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
