On Fri, Feb 14, 2014 at 12:15 PM, Enrico Pertoso <[email protected]>wrote:

> No, I don't have commit access.
>
> Although the tests are passing, I'd still like to clarify the
> unreachable code warnings:
>
> The code in Richard's example doesn't generate a warning. Should it?
>

It shouldn't, and indeed there's no reason why it would, because we don't
propagate constant values around during AnalysisBasedWarnings. Sorry for
not thinking this all the way through! =)


> I could also try to spend another couple of days to see how the
> unreachable code warnings are generated and make sure we're not doing
> it when we shouldn't.


No need, IMO. I'll try to remember to commit the patch in a few days if
no-one gets there first =)


> On Thu, Feb 13, 2014 at 6:21 PM, Jordan Rose <[email protected]>
> wrote:
> >
> >   This looks good to me. Do you have commit access, or do you need one
> of us to commit it for you?
> >
> > http://llvm-reviews.chandlerc.com/D2370
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to