]> granicus.if.org Git - clang/commit
More lambda work: semantic analysis of capturing 'this'. It's a bit complicated...
authorEli Friedman <eli.friedman@gmail.com>
Sat, 7 Jan 2012 04:59:52 +0000 (04:59 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 7 Jan 2012 04:59:52 +0000 (04:59 +0000)
commit72899c34e3d1abfffa241ad0ce5c4bf175e5ea51
tree2a9209442a417053e832e18b7a3416e787789642
parent9f03b62036a7abc0a227b17f4a49b9eefced9450
More lambda work: semantic analysis of capturing 'this'.  It's a bit complicated, but we have to be careful about when exactly captures are marked given PotentiallyPotentiallyEvaluated contexts.  (Actually, it's not 100% correct yet, but it's close enough for the moment.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147723 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/AST/DeclCXX.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/ScopeInfo.h
include/clang/Sema/Sema.h
lib/AST/DeclCXX.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaExprMember.cpp
lib/Sema/SemaOverload.cpp
test/Parser/objcxx0x-lambda-expressions.mm
test/SemaCXX/lambda-expressions.cpp