diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-14 07:08:30 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-14 07:08:30 +0000 |
commit | 7dbd8197040313d796282d4af06eccdf8a17319c (patch) | |
tree | 81674fccac8d8c691df402ac9fb6defed2fe0339 /lib/CodeGen/CodeGenModule.h | |
parent | 529d7d2c6ed88930bc3d7aab7611a50b6169e279 (diff) |
Rename (one) SetFunctionAttributes to SetLLVMFunctionAttributes to
disambiguate it.
- No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 8b748cb762..b38633db91 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/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); |