summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-05-14 19:54:53 +0000
committerHans Wennborg <hans@hanshq.net>2014-05-14 19:54:53 +0000
commit1a3a07471fdd94d000f2c83c20acfcab55749a92 (patch)
tree6e2f6e53dba6ed1325e37d4c70fdb3c812fa11d6 /clang/lib/CodeGen/CodeGenModule.cpp
parent07109b41616bd702d6f63f177fafeb6f3608ca88 (diff)
downloadbcm5719-llvm-1a3a07471fdd94d000f2c83c20acfcab55749a92.tar.gz
bcm5719-llvm-1a3a07471fdd94d000f2c83c20acfcab55749a92.zip
Rename CodeGenModule::getLLVMLinkageforDeclarator -> getLLVMLinkageForDeclarator
No functionality change. llvm-svn: 208808
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 2f3f0f02691..25399cc1958 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -590,7 +590,7 @@ CodeGenModule::getFunctionLinkage(GlobalDecl GD) {
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(const VarDecl *D, bool NoCommon) {
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 CodeGenModule::getLLVMLinkageforDeclarator(
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);
}
OpenPOWER on IntegriCloud