[cfe-commits] [patch] PR13413: Let GNUNullExpr::HasSideEffects() return false

Nico Weber thakis at chromium.org
Thu Jul 19 19:07:28 PDT 2012


On Thu, Jul 19, 2012 at 7:06 PM, Nico Weber <thakis at chromium.org> wrote:
> Hi,
>
> the attached patch lets GNUNullExpr::HasSideEffects() return false.
> This fixes PR13413, -Wunused-private-field not warning on used private
> fields that are initialized to NULL.
>
> Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-pr13413.patch
Type: application/octet-stream
Size: 976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120719/102f7a71/attachment.obj>


More information about the cfe-commits mailing list