summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-03-29 13:28:05 +0000
committerTim Northover <tnorthover@apple.com>2014-03-29 13:28:05 +0000
commit0ed153b0b4a41eee8eddb1258ca60ba1bf678cac (patch)
tree4328d421504fce601ba65ab49d77ec591141cabd /lib/CodeGen/CodeGenModule.h
parent899bcb6b9b5074712d05b011edb59a6e53571ecb (diff)
downloadclang-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.h4
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);