On Thu, Feb 16, 2012 at 7:49 PM, Douglas Gregor <[email protected]> wrote: > Author: dgregor > Date: Thu Feb 16 21:49:44 2012 > New Revision: 150790 > > URL: http://llvm.org/viewvc/llvm-project?rev=150790&view=rev > Log: > Disambiguate between C++11 lambda expressions and C99 array > designators in the parser. In the worst case, this disambiguation > requires tentative parsing just past the closing ']', but for most > cases we'll be able to tell by looking ahead just one token (without > going into the heavyweight tentative parsing machinery).
We're lucky that array designators, Objective-C message sends, and lambdas are all syntactically distinct in this context. :) -Eli _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
