summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-11-16 21:33:35 +0000
committerAndrew Trick <atrick@apple.com>2012-11-16 21:33:35 +0000
commitd5227545359a4816e52fd100b225ae140ec9b03a (patch)
treececc7d2858ba6328fb4daf9ad2c4af503a9c692c /include
parent6062b2be2c9563b7f154615e60416e2b3c2d6921 (diff)
downloadllvm-d5227545359a4816e52fd100b225ae140ec9b03a.tar.gz
llvm-d5227545359a4816e52fd100b225ae140ec9b03a.tar.bz2
llvm-d5227545359a4816e52fd100b225ae140ec9b03a.tar.xz
typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/STLExtras.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h
index aee500d4fb..dacda36521 100644
--- a/include/llvm/ADT/STLExtras.h
+++ b/include/llvm/ADT/STLExtras.h
@@ -246,10 +246,10 @@ inline int array_pod_sort_comparator(const void *P1, const void *P2) {
return 0;
}
-/// get_array_pad_sort_comparator - This is an internal helper function used to
+/// get_array_pod_sort_comparator - This is an internal helper function used to
/// get type deduction of T right.
template<typename T>
-inline int (*get_array_pad_sort_comparator(const T &))
+inline int (*get_array_pod_sort_comparator(const T &))
(const void*, const void*) {
return array_pod_sort_comparator<T>;
}
@@ -274,7 +274,7 @@ inline void array_pod_sort(IteratorTy Start, IteratorTy End) {
// Don't dereference start iterator of empty sequence.
if (Start == End) return;
qsort(&*Start, End-Start, sizeof(*Start),
- get_array_pad_sort_comparator(*Start));
+ get_array_pod_sort_comparator(*Start));
}
template<class IteratorTy>