diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2016-10-27 16:28:31 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2016-10-27 16:28:31 +0000 |
commit | 8df64e940da39899c78493b9b2e330bba5ab48ee (patch) | |
tree | c1611e0dd4b0304433554fe325c9e1a4895c97c2 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | cfb005a0ee6ca75c79805324d377b32d1325774a (diff) | |
download | bcm5719-llvm-8df64e940da39899c78493b9b2e330bba5ab48ee.tar.gz bcm5719-llvm-8df64e940da39899c78493b9b2e330bba5ab48ee.zip |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 9e9b5c721cd..dade4612ce7 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2311,6 +2311,7 @@ public: void EmitObjCAtSynchronizedStmt(const ObjCAtSynchronizedStmt &S); void EmitObjCAutoreleasePoolStmt(const ObjCAutoreleasePoolStmt &S); + void EmitCoroutineBody(const CoroutineBodyStmt &S); RValue EmitCoroutineIntrinsic(const CallExpr *E, unsigned int IID); void EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock = false); |