[PATCH] D23852: [SemaObjC] Fix crash while parsing type arguments and protocols

Doug Gregor via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 25 09:16:50 PDT 2016


doug.gregor added a comment.

This will work, but it's *really* unfortunate to put tentative parsing into this code path because tentative parsing is far from free, and specialized Objective-C types are getting pretty common in Objective-C headers. Why can't the callers be taught to handle EOF and bail out?


https://reviews.llvm.org/D23852





More information about the cfe-commits mailing list