<div class="gmail_quote">On Sat, May 12, 2012 at 7:18 AM, Will Wilson <span dir="ltr"><<a href="mailto:will@indefiant.com" target="_blank">will@indefiant.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> This is still only producing a warning if 'typename' is followed by<br>
> something which isn't a type name in MS mode. We should reject this:<br>
><br>
> int n; int k = typename n;<br>
<br>
</div>Thanks for the review. I've updated the patch to only issue the<br>
warning if an annotated typename was parsed, otherwise it defaults to<br>
the error case. I've also updated the MS test cases. See what you<br>
think...<br>
</blockquote></div><br><div>Thanks, I've committed this as r156786. I tweaked it slightly to only return 'false' if we managed to produce a (type) annotation.</div>