]> granicus.if.org Git - clang/commitdiff
Use more specific type.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 8 May 2014 14:46:46 +0000 (14:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 8 May 2014 14:46:46 +0000 (14:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208321 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.h

index 74ffeecd4283343da8023e8dac872a2aca3ee799..38e85e62d1c20fcee71ebb8a24a85d8bcade5c76 100644 (file)
@@ -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,