[llvm-commits] [llvm] r51980 - /llvm/trunk/include/llvm/DerivedTypes.h
Bill Wendling
isanbard at gmail.com
Thu Jun 5 00:24:08 PDT 2008
Author: void
Date: Thu Jun 5 02:24:08 2008
New Revision: 51980
URL: http://llvm.org/viewvc/llvm-project?rev=51980&view=rev
Log:
Remove unused parameter. Some clients might use -Werror when compiling and
cause drama.
Modified:
llvm/trunk/include/llvm/DerivedTypes.h
Modified: llvm/trunk/include/llvm/DerivedTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DerivedTypes.h?rev=51980&r1=51979&r2=51980&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DerivedTypes.h (original)
+++ llvm/trunk/include/llvm/DerivedTypes.h Thu Jun 5 02:24:08 2008
@@ -292,7 +292,7 @@
inline const Type *getElementType() const { return ContainedTys[0]; }
virtual bool indexValid(const Value *V) const;
- virtual bool indexValid(unsigned Idx) const {
+ virtual bool indexValid(unsigned) const {
return true;
}
@@ -302,7 +302,7 @@
virtual const Type *getTypeAtIndex(const Value *) const {
return ContainedTys[0];
}
- virtual const Type *getTypeAtIndex(unsigned Idx) const {
+ virtual const Type *getTypeAtIndex(unsigned) const {
return ContainedTys[0];
}
More information about the llvm-commits
mailing list