aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/GlobalValue.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-05-19 20:15:12 +0000
committerBill Wendling <isanbard@gmail.com>2008-05-19 20:15:12 +0000
commit13d57320bd212483463d4f8992d5787b29eda5df (patch)
tree4161a4c6087bd4741c341ac401969d3cf82fda65 /include/llvm/GlobalValue.h
parent9d60ba9d28c21145515878294b07c91622435632 (diff)
downloadexternal_llvm-13d57320bd212483463d4f8992d5787b29eda5df.zip
external_llvm-13d57320bd212483463d4f8992d5787b29eda5df.tar.gz
external_llvm-13d57320bd212483463d4f8992d5787b29eda5df.tar.bz2
Remove warnings about unused parameters and shadowed variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalValue.h')
-rw-r--r--include/llvm/GlobalValue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h
index 60b2d1c..b13a122 100644
--- a/include/llvm/GlobalValue.h
+++ b/include/llvm/GlobalValue.h
@@ -50,9 +50,9 @@ public:
};
protected:
- GlobalValue(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
+ GlobalValue(const Type *ty, ValueTy vty, Use *Ops, unsigned NumOps,
LinkageTypes linkage, const std::string &name = "")
- : Constant(Ty, vty, Ops, NumOps), Parent(0),
+ : Constant(ty, vty, Ops, NumOps), Parent(0),
Linkage(linkage), Visibility(DefaultVisibility), Alignment(0) {
if (!name.empty()) setName(name);
}