summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-14 07:08:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-14 07:08:30 +0000
commitaeddffc99df8942384d962a3a93a36b171fb735b (patch)
treebf742429fad4e7fcc11fec3972a2a889f163afbf /clang/lib/CodeGen/CodeGenModule.h
parent64a41cb39ec57a25fad31d4c9d8232b6cda3abb1 (diff)
downloadbcm5719-llvm-aeddffc99df8942384d962a3a93a36b171fb735b.tar.gz
bcm5719-llvm-aeddffc99df8942384d962a3a93a36b171fb735b.zip
Rename (one) SetFunctionAttributes to SetLLVMFunctionAttributes to
disambiguate it. - No functionality change. llvm-svn: 69034
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 8b748cb762a..b38633db91d 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -292,9 +292,11 @@ public:
void SetMethodAttributes(const ObjCMethodDecl *MD,
llvm::Function *F);
- void SetFunctionAttributes(const Decl *D,
- const CGFunctionInfo &Info,
- llvm::Function *F);
+ /// SetLLVMFunctionAttributes - Set the LLVM function attributes
+ /// (sext, zext, etc).
+ void SetLLVMFunctionAttributes(const Decl *D,
+ const CGFunctionInfo &Info,
+ llvm::Function *F);
/// ReturnTypeUsesSret - Return true iff the given type uses 'sret' when used
/// as a return type.
@@ -329,10 +331,13 @@ private:
/// SetFunctionAttributesForDefinition - Set function attributes specific to a
/// function definition.
+ ///
/// \param D - The ObjCMethodDecl or FunctionDecl defining \arg F.
void SetFunctionAttributesForDefinition(const Decl *D,
llvm::Function *F);
+ /// SetFunctionAttributes - Set function attributes for a function
+ /// declaration.
void SetFunctionAttributes(const FunctionDecl *FD,
llvm::Function *F);
OpenPOWER on IntegriCloud