aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 70a91b6a99..a6308736cc 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -207,10 +207,16 @@ public:
void ErrorUnsupported(const Decl *D, const char *Type,
bool OmitOnError=false);
+ void SetMethodAttributes(const ObjCMethodDecl *MD,
+ llvm::Function *F);
+
private:
+ /// SetFunctionAttributesForDefinition - Set function attributes
+ /// specific to a function definition.
+ void SetFunctionAttributesForDefinition(llvm::Function *F);
+
void SetFunctionAttributes(const FunctionDecl *FD,
- llvm::Function *F,
- const llvm::FunctionType *FTy);
+ llvm::Function *F);
void SetGlobalValueAttributes(const FunctionDecl *FD,
llvm::GlobalValue *GV);