From: Rafael Espindola Date: Thu, 8 May 2014 14:46:46 +0000 (+0000) Subject: Use more specific type. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=262fbc0d3e0e7167183e9783a27c6ccb1085bccd;p=clang Use more specific type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208321 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 74ffeecd42..38e85e62d1 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -976,8 +976,8 @@ public: llvm::GlobalVariable::LinkageTypes getFunctionLinkage(GlobalDecl GD); - void setFunctionLinkage(GlobalDecl GD, llvm::GlobalValue *V) { - V->setLinkage(getFunctionLinkage(GD)); + void setFunctionLinkage(GlobalDecl GD, llvm::Function *F) { + F->setLinkage(getFunctionLinkage(GD)); } /// getVTableLinkage - Return the appropriate linkage for the vtable, VTT,