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 | aeddffc99df8942384d962a3a93a36b171fb735b (patch) | |
tree | bf742429fad4e7fcc11fec3972a2a889f163afbf /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 64a41cb39ec57a25fad31d4c9d8232b6cda3abb1 (diff) | |
download | bcm5719-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.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 077c02384a7..096e87d8b7e 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/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); } |