Rename (one) SetFunctionAttributes to SetLLVMFunctionAttributes to

disambiguate it.
 - No functionality change.

llvm-svn: 69034
This commit is contained in:
Daniel Dunbar
2009-04-14 07:08:30 +00:00
parent 64a41cb39e
commit aeddffc99d
2 changed files with 13 additions and 8 deletions

View File

@@ -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);
}