summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorGor Nishanov <GorNishanov@gmail.com>2016-10-27 16:28:31 +0000
committerGor Nishanov <GorNishanov@gmail.com>2016-10-27 16:28:31 +0000
commit8df64e940da39899c78493b9b2e330bba5ab48ee (patch)
treec1611e0dd4b0304433554fe325c9e1a4895c97c2 /clang/lib/CodeGen/CodeGenFunction.h
parentcfb005a0ee6ca75c79805324d377b32d1325774a (diff)
downloadbcm5719-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.h1
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);
OpenPOWER on IntegriCloud