Patch to fix an invalid AST of a locally redeclared built-in which causes an IRGen crash

Richard Smith richard at metafoo.co.uk
Wed May 21 16:29:14 PDT 2014


It's not OK to set a declaration invalid having only produced a warning.


On Wed, May 21, 2014 at 2:44 PM, jahanian <fjahanian at apple.com> wrote:

> Attached patch attempts to fix an IRGen crash caused by treating local
> redeclaration of a built-in function as a
> built-in.  This patch removes an exception where the AST node for local
> redeclaration of built-in function
> remains built-in. This causes the IRGen to treat the call to this function
> as built-in call resulting in crash.
> Patch removes this exception, but also makes the implicit declaration of
> the built-in function as invalid.
> Please review.
>
> - Fariborz
>
>
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140521/eae5e5de/attachment.html>


More information about the cfe-commits mailing list