summaryrefslogtreecommitdiff
path: root/include/llvm/Support/GetElementPtrTypeIterator.h
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2013-06-10 12:09:30 +0000
committerDuncan Sands <baldrick@free.fr>2013-06-10 12:09:30 +0000
commit48d5e750a8189c55087333d2bbc5dd0e1e07ddfa (patch)
tree868730f2478a8f1523817776b40dfe3c4238910a /include/llvm/Support/GetElementPtrTypeIterator.h
parent366d94e16cceff0375c05bda540a8cf44a281ddf (diff)
downloadllvm-48d5e750a8189c55087333d2bbc5dd0e1e07ddfa.tar.gz
llvm-48d5e750a8189c55087333d2bbc5dd0e1e07ddfa.tar.bz2
llvm-48d5e750a8189c55087333d2bbc5dd0e1e07ddfa.tar.xz
Avoid warnings about unused parameters that tend to come up a lot when
building outside projects with a different compiler than that used to build LLVM itself (eg switching between gcc and clang). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/GetElementPtrTypeIterator.h')
-rw-r--r--include/llvm/Support/GetElementPtrTypeIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/GetElementPtrTypeIterator.h b/include/llvm/Support/GetElementPtrTypeIterator.h
index 5a90553a00..aacb53162c 100644
--- a/include/llvm/Support/GetElementPtrTypeIterator.h
+++ b/include/llvm/Support/GetElementPtrTypeIterator.h
@@ -105,7 +105,7 @@ namespace llvm {
template<typename T>
inline generic_gep_type_iterator<const T *>
- gep_type_end(Type *Op0, ArrayRef<T> A) {
+ gep_type_end(Type * /*Op0*/, ArrayRef<T> A) {
return generic_gep_type_iterator<const T *>::end(A.end());
}
} // end namespace llvm