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

Doug Gregor via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 12 15:49:43 PDT 2016


doug.gregor accepted this revision.
doug.gregor added a comment.
This revision is now accepted and ready to land.

I don't love the fact that it makes callers fragile, but having to do tentative parsing for these otherwise-unambiguous cases is expensive (in compile time). We should only use tentative parsing when we have an actual ambiguity to resolve.


https://reviews.llvm.org/D23852





More information about the cfe-commits mailing list