diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-17 03:49:44 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-17 03:49:44 +0000 |
commit | a80cae11f6cdbc92b0a5c47c454534ac564452d3 (patch) | |
tree | 29104cd844ec33802bb558a549bd1dfb9b44fbc8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 14a941380a8171800a41b418a7f63830693c5cfa (diff) | |
download | bcm5719-llvm-a80cae11f6cdbc92b0a5c47c454534ac564452d3.tar.gz bcm5719-llvm-a80cae11f6cdbc92b0a5c47c454534ac564452d3.zip |
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).
llvm-svn: 150790
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions