]> granicus.if.org Git - clang/commit
Move CapturedStmt parameters to CapturedDecl
authorBen Langmuir <ben.langmuir@intel.com>
Fri, 3 May 2013 19:00:33 +0000 (19:00 +0000)
committerBen Langmuir <ben.langmuir@intel.com>
Fri, 3 May 2013 19:00:33 +0000 (19:00 +0000)
commit8c045ace381972f41d385b0a661ccf172834f459
tree76127b79e1f24f48fd5b6cf66dd8952be22c8a0a
parent4761b102de0defef110d760ff77bfc367eac93c9
Move CapturedStmt parameters to CapturedDecl

Move the creation of CapturedStmt parameters out of CodeGen and into
Sema, making it easier to customize the outlined function. The
ImplicitParamDecls are stored in the CapturedDecl using an
ASTContext-allocated array.

Differential Revision: http://llvm-reviews.chandlerc.com/D722

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181043 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/Sema/ScopeInfo.h
include/clang/Sema/Sema.h
lib/AST/Decl.cpp
lib/Parse/ParsePragma.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaStmt.cpp