<div dir="ltr">Looks pretty reasonable - but are these two separate code changes, or do they interrelate in some way? If they're separate changes that can have separate test cases, it'd be nice to commit them each in their on commit just for clarity.<br>
<br>Have you considered/plan to look at non-type template parameters?<br><br>template<int Num><br>bool greater(unsigned Val) {<div>  return Val >= Num;<br>}<br><br>... greater<0>(42); ...<br><br>I'm not sure if this tickles the same kind of problem or not - but might be worth checking.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 8:17 PM, Richard Trieu <span dir="ltr"><<a href="mailto:rtrieu@google.com" target="_blank">rtrieu@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This patch turns off the tautological compare warnings when one of the operands is a template parameter type.  There's not an easy way to correct the code or silence this warning so this way seemed to be the best solution.  Anyone have any thoughts on altering the behavior of this warning?</div>

<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>
<br></blockquote></div><br></div>