diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2012-02-28 01:08:45 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2012-02-28 01:08:45 +0000 |
| commit | cae40c4d448529fe65de3d87bdbe97d3b54b4d98 (patch) | |
| tree | 07bd5fe3c0f813bd4caac68e5f67f40858d5d207 /lib/CodeGen/CodeGenFunction.h | |
| parent | 4c62b557e269a27515dfca1f754ae936c8fdb824 (diff) | |
| download | clang-cae40c4d448529fe65de3d87bdbe97d3b54b4d98.tar.gz clang-cae40c4d448529fe65de3d87bdbe97d3b54b4d98.tar.bz2 clang-cae40c4d448529fe65de3d87bdbe97d3b54b4d98.tar.xz | |
Implement IRGen for the retain-autorelease in the lambda conversion-to-block-pointer outside of ARC. Testcases coming up soon.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 71f2362311..42c9b7dc9b 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1345,6 +1345,7 @@ public: const ObjCPropertyImplDecl *PID); llvm::Constant *GenerateObjCAtomicGetterCopyHelperFunction( const ObjCPropertyImplDecl *PID); + llvm::Value *EmitBlockCopyAndAutorelease(llvm::Value *Block, QualType Ty); void BuildBlockRelease(llvm::Value *DeclPtr, BlockFieldFlags flags); |
