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)
commit73a040906d0cbf2240ed2bf19523fc0d73651bf8
tree198a38b41b513ab3d34691846ac4fd27a3c45d52
parent11c99162c41f6c788b2535779915a70319dc3510
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.)

llvm-svn: 147723
13 files changed:
clang/include/clang/AST/DeclCXX.h
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/ScopeInfo.h
clang/include/clang/Sema/Sema.h
clang/lib/AST/DeclCXX.cpp
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaCodeComplete.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaExprMember.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/Parser/objcxx0x-lambda-expressions.mm
clang/test/SemaCXX/lambda-expressions.cpp