[Patch] Disable -Wtaulological-compare for substituted template types

Richard Trieu rtrieu at google.com
Wed Oct 30 20:17:59 PDT 2013

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131030/96982223/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tautological-compare-templates.patch
Type: text/x-patch
Size: 1699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131030/96982223/attachment.bin>

More information about the cfe-commits mailing list