]> granicus.if.org Git - clang/commit
Diagnose attempts to explicitly capture a __block variable in a lambda.
authorDouglas Gregor <dgregor@apple.com>
Wed, 1 Feb 2012 00:09:55 +0000 (00:09 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 1 Feb 2012 00:09:55 +0000 (00:09 +0000)
commitfe9b559f81535ade84d24c42569378f80df47847
tree1e63c2da8092873ef64366ecd5100459ff4553e6
parent48b68a0dc345b3208cbd9dda719b9b3ec167c8c2
Diagnose attempts to explicitly capture a __block variable in a lambda.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149458 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExprCXX.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/blocks.cpp [new file with mode: 0644]