On Mon, Oct 1, 2012 at 12:07 PM, Jordan Rose <[email protected]> wrote:
> Author: jrose
> Date: Mon Oct  1 14:07:19 2012
> New Revision: 164959
>
> URL: http://llvm.org/viewvc/llvm-project?rev=164959&view=rev
> Log:
> [analyzer] Add a test for PR13927 "offsetof replacement flagged as null deref"
>
> This seems to be legal according to C11 6.5.3.2.

Strictly speaking, it's not legal... but it's used frequently enough
that it isn't a good idea to diagnose it.

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to