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

jahanian fjahanian at apple.com
Wed May 21 14:44:57 PDT 2014


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

	
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140521/d4933c63/attachment.txt>
-------------- next part --------------



More information about the cfe-commits mailing list