diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-08 14:46:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-08 14:46:46 +0000 |
commit | 649263626a7481ad214c23e724cd8d2fb263c3cb (patch) | |
tree | b6c1b7cb0d4032422754d97c10b418157ee7e925 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 489c66b2683cdcb31da1cfeaf21b236e41ae3967 (diff) | |
download | bcm5719-llvm-649263626a7481ad214c23e724cd8d2fb263c3cb.tar.gz bcm5719-llvm-649263626a7481ad214c23e724cd8d2fb263c3cb.zip |
Use more specific type.
llvm-svn: 208321
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 74ffeecd428..38e85e62d1c 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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, |