Move the storage of lambda captures and capture initializers from
LambdaExpr over to the CXXRecordDecl. This allows us to eliminate the back-link from the closure type to the LambdaExpr, which will simplify and lazify AST deserialization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150393 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/ASTContext.h 0 additions, 5 deletionsinclude/clang/AST/ASTContext.h
- include/clang/AST/Decl.h 2 additions, 0 deletionsinclude/clang/AST/Decl.h
- include/clang/AST/DeclCXX.h 45 additions, 6 deletionsinclude/clang/AST/DeclCXX.h
- include/clang/AST/ExprCXX.h 10 additions, 42 deletionsinclude/clang/AST/ExprCXX.h
- lib/AST/DeclCXX.cpp 42 additions, 11 deletionslib/AST/DeclCXX.cpp
- lib/AST/ExprCXX.cpp 56 additions, 19 deletionslib/AST/ExprCXX.cpp
- lib/Sema/SemaLambda.cpp 2 additions, 7 deletionslib/Sema/SemaLambda.cpp
Loading
Please register or sign in to comment