aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Type.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/Type.h
parent9d60ba9d28c21145515878294b07c91622435632 (diff)
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/Type.h')
-rw-r--r--include/llvm/Type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 1ee84e2cab..48ed04027b 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -293,7 +293,7 @@ public:
static const IntegerType *Int1Ty, *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty;
/// Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const Type *T) { return true; }
+ static inline bool classof(const Type *) { return true; }
void addRef() const {
assert(isAbstract() && "Cannot add a reference to a non-abstract type!");