diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-03-29 13:28:05 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-03-29 13:28:05 +0000 |
| commit | 0ed153b0b4a41eee8eddb1258ca60ba1bf678cac (patch) | |
| tree | 4328d421504fce601ba65ab49d77ec591141cabd /lib/CodeGen/CodeGenModule.h | |
| parent | 899bcb6b9b5074712d05b011edb59a6e53571ecb (diff) | |
| download | clang-0ed153b0b4a41eee8eddb1258ca60ba1bf678cac.tar.gz clang-0ed153b0b4a41eee8eddb1258ca60ba1bf678cac.tar.bz2 clang-0ed153b0b4a41eee8eddb1258ca60ba1bf678cac.tar.xz | |
ObjC: allow targets to decide when to use stret for blocks.
This was originally part of the ARM64 patch, but seems semantically
separate.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 7694eed1a1..0d13bdcc2f 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -908,6 +908,10 @@ public: /// as a return type. bool ReturnTypeUsesSRet(const CGFunctionInfo &FI); + /// ReturnSlotInterferesWithArgs - Return true iff the given type uses an + /// argument slot when 'sret' is used as a return type. + bool ReturnSlotInterferesWithArgs(const CGFunctionInfo &FI); + /// ReturnTypeUsesFPRet - Return true iff the given type uses 'fpret' when /// used as a return type. bool ReturnTypeUsesFPRet(QualType ResultType); |
