[LLVMbugs] [Bug 9206] Clang does not support gcc-style nested functions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 13 10:41:43 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=9206

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Chris Lattner <clattner at apple.com> 2011-02-13 12:41:43 CST ---
Hi Reid,

This is one feature that we really do not want to implement.  Besides adding a
bunch of complexity, among other things this makes parser error recovery worse:
you don't know if you're entering a nested function or if a missing } happened.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list