[PATCH] D31646: [coroutines] Build GRO declaration and return GRO statement
Gor Nishanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 3 22:16:09 PDT 2017
GorNishanov created this revision.
1. build declaration of the gro local variable that keeps the result of get_return_object.
2. build return statement returning the gro variable
3. emit them during CodeGen
4. sema and CodeGen tests updated
https://reviews.llvm.org/D31646
Files:
include/clang/AST/StmtCXX.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/StmtCXX.cpp
lib/CodeGen/CGCoroutine.cpp
lib/Sema/AnalysisBasedWarnings.cpp
lib/Sema/CoroutineStmtBuilder.h
lib/Sema/SemaCoroutine.cpp
test/CodeGenCoroutines/coro-alloc.cpp
test/SemaCXX/coroutines.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31646.94005.patch
Type: text/x-patch
Size: 16352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170404/2a3dd10e/attachment-0001.bin>
More information about the cfe-commits
mailing list