<div dir="ltr">Does this still warn on cases like:<div><br></div><div>  typeid(f(), g());</div><div><br></div><div>where we don't know we've got an evaluated operand until after we've finished parsing it?</div><div><br></div><div>... Hmm, we don't seem to get any warning on that case right now. =( Might be worth someone looking into that, maybe there are other cases we're missing.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 1:07 PM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">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">We currently emit diagnostics warning about unused results while in an<br>
unevaluated context. This seems a bit strange to me, since an<br>
unevaluated context implies we aren't using *any* results. This patch<br>
addresses that by not emitting such diagnostics from an unevaluated<br>
context. It also fixes PR18571.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span></blockquote></div><br></div>