diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index f5eba15a24..ef7009c5aa 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -140,7 +140,12 @@ public: /// ReturnTypeUsesSret - Return true iff the given type uses 'sret' /// when used as a return type. - bool ReturnTypeUsesSret(QualType RetTy); + static bool ReturnTypeUsesSret(QualType RetTy); + + static void ConstructParamAttrList(const Decl *TargetDecl, + const ArgTypeIterator begin, + const ArgTypeIterator end, + ParamAttrListType &PAL); /// EmitFunctionProlog - Emit the target specific LLVM code to load /// the arguments for the given function. This is also responsible |