[cfe-commits] [PATCH] Don't warn when the conditional operator is used for control flow.

Justin Bogner mail at justinbogner.com
Tue Feb 22 23:29:58 PST 2011


The attached patch fixes [bug 8282]. Can it be applied for 2.9? To use
CPU_SET without it, you have to do something silly like this:

    (void)(CPU_SET(cpu, &cpuMask));

[bug 8282]: http://llvm.org/bugs/show_bug.cgi?id=8282

-------------- next part --------------
A non-text attachment was scrubbed...
Name: conditionally-unused.patch
Type: text/x-diff
Size: 1556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110223/92176375/attachment.patch>


More information about the cfe-commits mailing list