[cfe-commits] [PATCH] Fix some -Wunused-value false positives

Matt Beaumont-Gay matthewbg at google.com
Fri Oct 19 16:21:55 PDT 2012

We were missing some cases in Expr::isUnusedResultAWarning, causing us
to warn on the test case in the patch. Any other Expr classes I should
add to that switch, or any reason the current behavior is actually

-------------- next part --------------
A non-text attachment was scrubbed...
Name: unused-value-fp.patch
Type: application/octet-stream
Size: 1104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121019/cefdc8ba/attachment.obj>

More information about the cfe-commits mailing list