When capturing 'this' in a lambda, make sure to update the set of
authorDouglas Gregor <dgregor@apple.com>
Thu, 25 Oct 2012 18:39:16 +0000 (18:39 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 25 Oct 2012 18:39:16 +0000 (18:39 +0000)
commitd814a05f6b29351d6e05edf42d9bfd668f9993be
tree2082fc368e479c4897a2062c0c86a63e555cc4ac
parent8cdb7ede804325938f64ac5348cd5ee1d9f70156
When capturing 'this' in a lambda, make sure to update the set of
array-index starting values for the 'this' capture. Fixes
<rdar://problem/12426831>.

llvm-svn: 166709
clang/include/clang/Sema/ScopeInfo.h
clang/test/CXX/expr/expr.prim/expr.prim.lambda/p14.cpp