commit | b3f323d6c41cb614a249dbc4af7493762786521a | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Feb 17 03:49:44 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 17 03:49:44 2012 +0000 |
tree | a3920ec3ded16e5dd6a6e4378f5dcae3e28a9e2d | |
parent | f3908f2ae111b1b12ade2524dda71c669ed6f121 [diff] |
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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150790 91177308-0d34-0410-b5e6-96231b3b80d8