diff options
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.h')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.h b/clang/lib/CodeGen/TargetInfo.h index 11cae6c5aa2..6c3ab64834b 100644 --- a/clang/lib/CodeGen/TargetInfo.h +++ b/clang/lib/CodeGen/TargetInfo.h @@ -123,6 +123,10 @@ namespace clang { return Ty; } + /// doesReturnSlotInterfereWithArgs - Return true if the target uses an + /// argument slot for an 'sret' type. + virtual bool doesReturnSlotInterfereWithArgs() const { return true; } + /// Retrieve the address of a function to call immediately before /// calling objc_retainAutoreleasedReturnValue. The /// implementation of objc_autoreleaseReturnValue sniffs the |