[cfe-dev] Incomplete checks for pointer addition
eli.friedman at gmail.com
Thu Feb 7 17:36:23 PST 2008
On Feb 4, 2008 11:26 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> int a; int (*b) = &a+1;
> Should give an error in sema, but clang lets it through.
Here's a fix. It's a little longer than I'd like, but I'm not sure if
there's anything I can do there.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cfe-dev