llvm-project/clang/lib
Gor Nishanov 63b6df4f05 [coroutines] Add cleanup for compiler injected objects/allocations in coroutine body
Summary:
* Use pushCleanup to emit freeing coroutine memory on normal and EH exits.
* Surround emitted code with CodeGenFunction::RunCleanupsScope.

Reviewers: rsmith, rnk, EricWF

Reviewed By: rnk

Subscribers: cfe-commits

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

llvm-svn: 299281
2017-04-01 00:22:47 +00:00
..
ARCMigrate Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
AST Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
ASTMatchers [ASTMatchers] add typeAliasTemplateDecl matcher. 2017-03-28 12:56:47 +00:00
Analysis Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
Basic [XRay] Add -fxray-{always,never}-instrument= flags to clang 2017-03-30 00:29:36 +00:00
CodeGen [coroutines] Add cleanup for compiler injected objects/allocations in coroutine body 2017-04-01 00:22:47 +00:00
Driver Add/update PIE defaults for OpenBSD. 2017-03-31 22:13:17 +00:00
Edit Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
Format clang-format: Fix post-commit review comment of r299204, use Style.isCpp(). 2017-03-31 13:30:24 +00:00
Frontend [XRay][clang] Fix the -fxray-instruction-threshold flag processing 2017-03-30 22:46:45 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [X86] Implement __readgsqword (and the rest) as builtins (PR32373) 2017-03-22 19:13:13 +00:00
Index Fix MSVC 'not all control paths return a value' warning. 2017-03-24 16:59:14 +00:00
Lex [Modules] Find PrivateHeaders when looking into subframeworks 2017-03-21 16:43:51 +00:00
Parse Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema [Sema][X86] Update immediate check for gather/scatter prefetch instructions to match the _MM_HINT_T0/T1 constant definitions 2017-03-31 17:22:30 +00:00
Serialization [Modules][PCH] Serialize #pragma pack 2017-03-31 15:36:21 +00:00
StaticAnalyzer Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
Tooling Add `replace` interface with range in AtomicChange. 2017-03-30 13:07:38 +00:00
CMakeLists.txt