[coroutines] Add allocation and deallocation substatements.
authorGor Nishanov <GorNishanov@gmail.com>
Thu, 27 Oct 2016 16:28:31 +0000 (16:28 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Thu, 27 Oct 2016 16:28:31 +0000 (16:28 +0000)
commit8df64e940da39899c78493b9b2e330bba5ab48ee
treec1611e0dd4b0304433554fe325c9e1a4895c97c2
parentcfb005a0ee6ca75c79805324d377b32d1325774a
[coroutines] Add allocation and deallocation substatements.

Summary:
SemaCoroutine: Add allocation / deallocation substatements.
CGCoroutine/Test: Emit allocation and deallocation + test.

Reviewers: rsmith

Subscribers: ABataev, EricWF, llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D25879

llvm-svn: 285306
clang/include/clang/AST/StmtCXX.h
clang/lib/CodeGen/CGCoroutine.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/Sema/SemaCoroutine.cpp
clang/test/CodeGenCoroutines/coro-alloc.cpp [new file with mode: 0644]