]> granicus.if.org Git - clang/commit
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)
commitc3f1742bdd1ae0091d51168e111cd63861587b13
treee0e3cf53d98a205587e16a4634fddcebf6418d82
parent7c98499ba594116d75555f39a1cce28cd26d76a5
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>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166709 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ScopeInfo.h
test/CXX/expr/expr.prim/expr.prim.lambda/p14.cpp