Fix the determination of whether a capture refers to an enclosing
authorDouglas Gregor <dgregor@apple.com>
Sat, 1 Dec 2012 01:01:09 +0000 (01:01 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 1 Dec 2012 01:01:09 +0000 (01:01 +0000)
commitc401755f4660d6b42ed74d53e580e4a5f8c2ee9f
tree802ee35bbc141ea3ac9138973374bf5be3e1e9e6
parent640a126d81e172d6c124120edc16039913ebf4cc
Fix the determination of whether a capture refers to an enclosing
scope when dealing with nested blocks. Fixes <rdar://problem/12778708>.

llvm-svn: 169065
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGenCXX/lambda-expressions.cpp