aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
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
commit7dbd8197040313d796282d4af06eccdf8a17319c (patch)
tree81674fccac8d8c691df402ac9fb6defed2fe0339 /lib/CodeGen/CodeGenModule.cpp
parent529d7d2c6ed88930bc3d7aab7611a50b6169e279 (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.cpp')
-rw-r--r--lib/CodeGen/CodeGenModule.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp
index 077c02384a..096e87d8b7 100644
--- a/lib/CodeGen/CodeGenModule.cpp
+++ b/lib/CodeGen/CodeGenModule.cpp
@@ -304,9 +304,9 @@ void CodeGenModule::SetGlobalValueAttributes(const Decl *D,
GV->setSection(SA->getName());
}
-void CodeGenModule::SetFunctionAttributes(const Decl *D,
- const CGFunctionInfo &Info,
- llvm::Function *F) {
+void CodeGenModule::SetLLVMFunctionAttributes(const Decl *D,
+ const CGFunctionInfo &Info,
+ llvm::Function *F) {
AttributeListType AttributeList;
ConstructAttributeList(Info, D, AttributeList);
@@ -360,14 +360,14 @@ void CodeGenModule::SetFunctionAttributesForDefinition(const Decl *D,
void CodeGenModule::SetMethodAttributes(const ObjCMethodDecl *MD,
llvm::Function *F) {
- SetFunctionAttributes(MD, getTypes().getFunctionInfo(MD), F);
+ SetLLVMFunctionAttributes(MD, getTypes().getFunctionInfo(MD), F);
SetFunctionAttributesForDefinition(MD, F);
}
void CodeGenModule::SetFunctionAttributes(const FunctionDecl *FD,
llvm::Function *F) {
- SetFunctionAttributes(FD, getTypes().getFunctionInfo(FD), F);
+ SetLLVMFunctionAttributes(FD, getTypes().getFunctionInfo(FD), F);
SetGlobalValueAttributes(FD, GetLinkageForFunctionOrMethodDecl(FD), F, false);
}