I've been working on this independently and am about to check in a fix. Apologies for the duplicated effort!<br><br><div class="gmail_quote">On Thu, Feb 9, 2012 at 7:40 PM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.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">On Thu, Feb 9, 2012 at 8:44 PM, Eli Friedman <<a href="mailto:eli.friedman@gmail.com">eli.friedman@gmail.com</a>> wrote:<br>

> On Thu, Feb 9, 2012 at 6:24 PM, Aaron Ballman <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br>
>> This patch addresses bug 11684 where illegal function qualifiers are<br>
>> not caught properly when declaring a function pointer or reference<br>
>> inside of a class.  For instance:<br>
>><br>
>> struct test {<br>
>>  void (*ref)() const;<br>
>> };<br>
>><br>
>> I mostly reused existing logic to cover the case.  I've also included<br>
>> some test cases to exercise the fix.<br>
><br>
> We shouldn't allowing forming the type "pointer to const-qualified<br>
> function" in the first place... tracking down all the places we use a<br>
> type is completely ridiculous.<br>
<br>
</div>That's fair -- I'll look into taking care of it at the declaration site.<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br>