diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 5054b56d21..f5eba15a24 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -138,6 +138,10 @@ public: const FunctionArgList &Args); void FinishFunction(SourceLocation EndLoc=SourceLocation()); + /// ReturnTypeUsesSret - Return true iff the given type uses 'sret' + /// when used as a return type. + bool ReturnTypeUsesSret(QualType RetTy); + /// EmitFunctionProlog - Emit the target specific LLVM code to load /// the arguments for the given function. This is also responsible /// for naming the LLVM function arguments. |