r208808 - Rename CodeGenModule::getLLVMLinkageforDeclarator -> getLLVMLinkageForDeclarator
Hans Wennborg
hans at hanshq.net
Wed May 14 12:54:53 PDT 2014
Author: hans
Date: Wed May 14 14:54:53 2014
New Revision: 208808
URL: http://llvm.org/viewvc/llvm-project?rev=208808&view=rev
Log:
Rename CodeGenModule::getLLVMLinkageforDeclarator -> getLLVMLinkageForDeclarator
No functionality change.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
cfe/trunk/lib/CodeGen/CodeGenModule.h
Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=208808&r1=208807&r2=208808&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Wed May 14 14:54:53 2014
@@ -590,7 +590,7 @@ CodeGenModule::getFunctionLinkage(Global
getCXXABI().useThunkForDtorVariant(cast<CXXDestructorDecl>(D),
GD.getDtorType());
- return getLLVMLinkageforDeclarator(D, Linkage, /*isConstantVariable=*/false,
+ return getLLVMLinkageForDeclarator(D, Linkage, /*isConstantVariable=*/false,
UseThunkForDtorVariant);
}
@@ -1942,7 +1942,7 @@ static bool isVarDeclStrongDefinition(co
return false;
}
-llvm::GlobalValue::LinkageTypes CodeGenModule::getLLVMLinkageforDeclarator(
+llvm::GlobalValue::LinkageTypes CodeGenModule::getLLVMLinkageForDeclarator(
const DeclaratorDecl *D, GVALinkage Linkage, bool IsConstantVariable,
bool UseThunkForDtorVariant) {
if (Linkage == GVA_Internal)
@@ -2025,7 +2025,7 @@ llvm::GlobalValue::LinkageTypes CodeGenM
llvm::GlobalValue::LinkageTypes CodeGenModule::getLLVMLinkageVarDefinition(
const VarDecl *VD, bool IsConstant) {
GVALinkage Linkage = getContext().GetGVALinkageForVariable(VD);
- return getLLVMLinkageforDeclarator(VD, Linkage, IsConstant,
+ return getLLVMLinkageForDeclarator(VD, Linkage, IsConstant,
/*UseThunkForDtorVariant=*/false);
}
Modified: cfe/trunk/lib/CodeGen/CodeGenModule.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.h?rev=208808&r1=208807&r2=208808&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.h (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.h Wed May 14 14:54:53 2014
@@ -952,7 +952,7 @@ public:
/// Returns LLVM linkage for a declarator.
llvm::GlobalValue::LinkageTypes
- getLLVMLinkageforDeclarator(const DeclaratorDecl *D, GVALinkage Linkage,
+ getLLVMLinkageForDeclarator(const DeclaratorDecl *D, GVALinkage Linkage,
bool IsConstantVariable,
bool UseThunkForDtorVariant);
More information about the cfe-commits
mailing list